Function Basis<T>.Fill Values Method
Definition
Namespace: Numerics.NET.Curves.Generic
Assembly: Numerics.NET.Generic (in Numerics.NET.Generic.dll) Version: 9.0.3
Assembly: Numerics.NET.Generic (in Numerics.NET.Generic.dll) Version: 9.0.3
Overload List
Fill | Fills a dense vector with the values of the member functions of a FunctionBasis at a specified value. |
Fill | 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 of a FunctionBasis at a specified value.
public abstract 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.
Exceptions
Argument | values is null. |
Dimension | The length of values is less than the number of member functions in this FunctionBasis. |
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.
public void FillValues(
Vector<T> xValues,
DenseMatrix<T> values
)
Parameters
- xValues Vector<T>
- A vector containing the values at which to evaluate the member functions.
- values DenseMatrix<T>
- A DenseMatrix<T> with number of columns greater than or equal to the number of functions in this FunctionBasis, and number of rows greater than or equal to the number of elements in xValues.
Exceptions
Argument | xValues is null.
-or- values is null. |
Dimension | The
number of columns of values is not
equal to the number of member functions in this
FunctionBasis -or- the number of rows of values does not equal the number of elements in values. |