MathHelperReverseLerp Method  | 
 
            Returns the linear interpolation parameter t for the value y.
            
 
    Namespace: 
   Dundas.BI.Utility
    Assembly:
   Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (25.3.0.1000)
Syntaxpublic static double ReverseLerp(
	double a,
	double b,
	double y
)
Public Shared Function ReverseLerp ( 
	a As Double,
	b As Double,
	y As Double
) As Double
public:
static double ReverseLerp(
	double a, 
	double b, 
	double y
)
static member ReverseLerp : 
        a : float * 
        b : float * 
        y : float -> float 
Parameters
- a
 - Type: SystemDouble
The value to interpolate from. - b
 - Type: SystemDouble
The value to interpolate to. - y
 - Type: SystemDouble
The value to find the parameter for. 
Return Value
Type: 
DoubleParameter for this interpolator that corresponds to 
y.
Remarks
            Performs linear interpolation for values in the domain [0, 1] to the range [a, b].
            That is, given the points (0, a) and (1, b) this solves for t in the point (t, y).
            
See Also