PolynomialBasis.FillValues Method

Definition

Namespace: Numerics.NET.Curves
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3

Overload List

FillValues(Double, DenseVector<Double>) Fills a dense vector with the values of the member functions at a specified value.
FillValues(Vector<Double>, DenseMatrix<Double>) Fills the rows of a DenseMatrix<T> with the values of the member functions of a FunctionBasis evaluated for each element in a Vector.

FillValues(Double, DenseVector<Double>)

Fills a dense vector with the values of the member functions at a specified value.
C#
public override void FillValues(
	double x,
	DenseVector<double> values
)

Parameters

x  Double
The value at which to evaluate the member functions.
values  DenseVector<Double>
A dense vector with length equal to the number of functions in this FunctionBasis.

Exceptions

ArgumentNullException

values is null.

DimensionMismatchException

The length of values is not equal to the number of member functions in this FunctionBasis.

See Also