Evaluates the parameterized function for the given parameter values at the
given set of points.
Namespace:
CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 5.1.0.0
Syntax
| C# |
|---|
public virtual void Evaluate( DoubleVector parameters, DoubleMatrix X, ref DoubleVector y ) |
| Visual Basic (Declaration) |
|---|
Public Overridable Sub Evaluate ( _ parameters As DoubleVector, _ X As DoubleMatrix, _ ByRef y As DoubleVector _ ) |
| Visual C++ |
|---|
public: virtual void Evaluate( DoubleVector^ parameters, DoubleMatrix^ X, DoubleVector^% y ) |
Parameters
- parameters
- Type: CenterSpace.NMath.Core..::.DoubleVector
The parameter values.
- X
- Type: CenterSpace.NMath.Core..::.DoubleMatrix
The points to evaluate the function at.
- y
- Type:
CenterSpace.NMath.Core..::.DoubleVector
%
On input a vector with the same length as the number of rows in X. On output contains the function values y[i] at the points X.Row(i).
Exceptions
| Exception | Condition |
|---|---|
| CenterSpace.NMath.Core..::.InvalidArgumentException | Thrown if the input matrix X does not have the correct number of columns, or if the length of the input vector y is not equal to the number of orws in X. |