Namespaces

Types in MathNet.Numerics.Interpolation

Type LogLinear

Namespace MathNet.Numerics.Interpolation

Interfaces IInterpolation

Piece-wise Log-Linear Interpolation
This algorithm supports differentiation, not integration.

Constructors

Static Functions

Methods

Public Constructors

LogLinear(Double[] x, Double[] logy)

Parameters
Double[] x

Sample points (N), sorted ascending

Double[] logy

Natural logarithm of the sample values (N) at the corresponding points

Public Static Functions

LogLinear Interpolate(IEnumerable<double> x, IEnumerable<double> y)

Create a piecewise log-linear interpolation from an unsorted set of (x,y) value pairs.

LogLinear InterpolateInplace(Double[] x, Double[] y)

Create a piecewise log-linear interpolation from an unsorted set of (x,y) value pairs. WARNING: Works in-place and can thus causes the data array to be reordered and modified.

LogLinear InterpolateSorted(Double[] x, Double[] y)

Create a piecewise log-linear interpolation from a set of (x,y) value pairs, sorted ascendingly by x.

Public Methods

double Differentiate(double t)

Differentiate at point t.
Parameters
double t

Point t to interpolate at.

Return
double

Interpolated first derivative at point t.

double Differentiate2(double t)

Differentiate twice at point t.
Parameters
double t

Point t to interpolate at.

Return
double

Interpolated second derivative at point t.

bool Equals(object obj)

int GetHashCode()

Type GetType()

double Interpolate(double t)

Interpolate at point t.
Parameters
double t

Point t to interpolate at.

Return
double

Interpolated value x(t).

string ToString()