private float Operation(Recursion recursion) { float inputValue = Mathf.Clamp01(input.GetValue <float>(recursion)); float inflectionPointValue = Mathf.Clamp01(inflectionPoint.GetValue <float>(recursion)); return(MathLibrary.DecayingSigmoid(inputValue, inflectionPointValue, minimum.GetValue <float>(), decayFactor.GetValue <float>(), scale.GetValue <float>())); }
private float Operation(Flow flow) { float normalizedInput = MathLibrary.ReverseLinearFunction(flow.GetValue <float>(input), flow.GetValue <float>(minimumRange), flow.GetValue <float>(maximumRange)); float normalizedInflection = MathLibrary.ReverseLinearFunction(flow.GetValue <float>(inflectionPoint), flow.GetValue <float>(minimumRange), flow.GetValue <float>(maximumRange)); return(MathLibrary.DecayingSigmoid(normalizedInput, normalizedInflection, flow.GetValue <float>(minimum), flow.GetValue <float>(decayFactor), flow.GetValue <float>(scale))); }
private float Operation(Flow flow) { return(MathLibrary.LinearFunctionOfRange( flow.GetValue <float>(input), flow.GetValue <float>(minInputRange), flow.GetValue <float>(maxInputRange), flow.GetValue <float>(minimum), flow.GetValue <float>(maximum))); }
private float Operation(Recursion recursion) { float normalizedInput = MathLibrary.ReverseLinearFunction(input.GetValue <float>(), minimumRange.GetValue <float>(), maximumRange.GetValue <float>()); float normalizedInflection = MathLibrary.ReverseLinearFunction(inflectionPoint.GetValue <float>(), minimumRange.GetValue <float>(), maximumRange.GetValue <float>()); return(MathLibrary.DecayingSigmoid(normalizedInput, normalizedInflection, minimum.GetValue <float>(), decayFactor.GetValue <float>(), scale.GetValue <float>())); }
private float Operation(Recursion recursion) { return(MathLibrary.LinearFunctionOfRange( input.GetValue <float>(), minInputRange.GetValue <float>(), maxInputRange.GetValue <float>(), minimum.GetValue <float>(), maximum.GetValue <float>())); }
private float Operation(Flow flow) { float inputValue = Mathf.Clamp01(flow.GetValue <float>(input)); float inflectionPointValue = Mathf.Clamp01(flow.GetValue <float>(inflectionPoint)); return(MathLibrary.DecayingSigmoid(inputValue, inflectionPointValue, flow.GetValue <float>(minimum), flow.GetValue <float>(decayFactor), flow.GetValue <float>(scale))); }
private float Operation(Recursion recursion) { return(MathLibrary.LinearFunction(minimum.GetValue <float>(recursion), maximum.GetValue <float>(recursion), input.GetValue <float>(recursion))); }
private float Operation(Recursion recursion) { return(MathLibrary.ExponentialFunction(input.GetValue <float>(), minimum.GetValue <float>(), exponent.GetValue <float>(), scale.GetValue <float>())); }
private float Operation(Flow flow) { return(MathLibrary.LogarithmicFunctionOfRange(flow.GetValue <float>(input), flow.GetValue <float>(minimumRange), flow.GetValue <float>(maximumRange), flow.GetValue <float>(maximumRange), flow.GetValue <float>(exponent), flow.GetValue <float>(scale))); }
private float Operation(Flow flow) { return(MathLibrary.ReverseLinearFunction(flow.GetValue <float>(minimum), flow.GetValue <float>(maximum), flow.GetValue <float>(input))); }
private float Operation(Flow flow) { return(MathLibrary.DecayFunction(flow.GetValue <float>(input), flow.GetValue <float>(minimum), flow.GetValue <float>(decayFactor), flow.GetValue <float>(scale))); }
private float Operation(Recursion recursion) { return(MathLibrary.DecayFunction(input.GetValue <float>(), minimum.GetValue <float>(), decayFactor.GetValue <float>(), scale.GetValue <float>())); }
private float Operation(Flow flow) { return(MathLibrary.ExponentialFunction(flow.GetValue <float>(input), flow.GetValue <float>(minimum), flow.GetValue <float>(exponent), flow.GetValue <float>(scale))); }
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>())); }