Пример #1
0
 private float Operation(Flow flow)
 {
     return(MathLibrary.DecayFunctionOfRange(flow.GetValue <float>(input), flow.GetValue <float>(minimumRange), flow.GetValue <float>(maximumRange), flow.GetValue <float>(maximumRange), flow.GetValue <float>(decayFactor), flow.GetValue <float>(scale)));
 }
 private float Operation(Recursion recursion)
 {
     return(MathLibrary.DecayFunctionOfRange(input.GetValue <float>(), minimumRange.GetValue <float>(), maximumRange.GetValue <float>(), maximumRange.GetValue <float>(), decayFactor.GetValue <float>(), scale.GetValue <float>()));
 }