Function Basis.Fill Derivatives Method
Definition
Namespace: Extreme.Mathematics.Curves
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Overload List
Fill | Fills a vector with the derivatives of the member functions 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. |
FillDerivatives(Double, DenseVector<Double>)
Fills a vector with the derivatives of the
member functions at a specified value.
public virtual void FillDerivatives(
double x,
DenseVector<double> derivatives
)
Parameters
- x Double
- The value at which to evaluate the derivatives.
- derivatives DenseVector<Double>
- A vector with length greater than or equal to the number of functions in this FunctionBasis.
Exceptions
Dimension | The length of derivatives is not equal to the number of member functions in this FunctionBasis. |
Invalid | No derivatives are available for this FunctionBasis. |
FillDerivatives(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.
public void FillDerivatives(
Vector<double> xValues,
DenseMatrix<double> derivatives
)
Parameters
- xValues Vector<Double>
- A vector containing the values at which to evaluate the member functions.
- derivatives DenseMatrix<Double>
- 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- derivatives is null. |
Dimension | The
number of columns of derivatives is not
equal to the number of member functions in this
FunctionBasis -or- the number of rows of derivatives does not equal the number of elements in xValues. |