示例#1
0
 private float Operation(Recursion recursion)
 {
     return(MathLibrary.LinearFunctionOfRange(
                input.GetValue <float>(),
                minInputRange.GetValue <float>(),
                maxInputRange.GetValue <float>(), minimum.GetValue <float>(), maximum.GetValue <float>()));
 }
示例#2
0
 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>()));
 }
 private float Operation(Recursion recursion)
 {
     return(MathLibrary.ExponentialFunction(input.GetValue <float>(), minimum.GetValue <float>(), exponent.GetValue <float>(), scale.GetValue <float>()));
 }
示例#4
0
 private float Operation(Recursion recursion)
 {
     return(MathLibrary.LogarithmicFunctionOfRange(input.GetValue <float>(), minimumRange.GetValue <float>(), maximumRange.GetValue <float>(), maximumRange.GetValue <float>(), exponent.GetValue <float>(), scale.GetValue <float>()));
 }
 private float Operation(Recursion recursion)
 {
     return(MathLibrary.ReverseLinearFunction(minimum.GetValue <float>(recursion), maximum.GetValue <float>(recursion), input.GetValue <float>(recursion)));
 }