ComputeValue() public method

Computes a specific interpolated value f(x).
public ComputeValue ( double x ) : double
x double The value where to interpolate.
return double
Example #1
0
 public MatrixValue Function(MatrixValue original, ScalarValue x)
 {
     var spline = new SplineInterpolation(original);
     var M = new MatrixValue(1, 2);
     M[1, 1].Re = x.Re;
     M[1, 2].Re = spline.ComputeValue(x.Re);
     return M;
 }