PolynomialBasis<T>.FillValues Method

Definition

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

Overload List

FillValues(T, DenseVector<T>) Fills a dense vector with the values of the member functions at a specified value.
FillValues(Vector<T>, DenseMatrix<T>) 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(T, DenseVector<T>)

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

Parameters

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

Exceptions

ArgumentNullExceptionvalues is null.
DimensionMismatchExceptionThe length of values is not equal to the number of member functions in this FunctionBasis<T>.

See Also