public void Execute(ProcessingData data) { var values = data.GetAs <float>("Values"); var values2 = data.GetAs <float>("Values2"); FindSum(values, values2); }
public void Execute(ProcessingData data) { var length = data.Length; for (var i = 0; i < length; i++) { data.GetAs <float>("Velocity")[i] += data.GetAs <float>("Force")[i] / data.GetAs <float>("Mass")[i]; } }
public void Execute(ProcessingData data) { var values = data.GetAs <float>("Values"); FindMinMax(values); }