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, DoubleVector x, ref DoubleVector y ) |
| Visual Basic (Declaration) |
|---|
Public Overridable Sub Evaluate ( _ parameters As DoubleVector, _ x As DoubleVector, _ ByRef y As DoubleVector _ ) |
| Visual C++ |
|---|
public: virtual void Evaluate( DoubleVector^ parameters, DoubleVector^ x, DoubleVector^% y ) |
Parameters
- parameters
- Type: CenterSpace.NMath.Core..::.DoubleVector
The parameter values.
- x
- Type: CenterSpace.NMath.Core..::.DoubleVector
The points to evaluate the function at.
- y
- Type:
CenterSpace.NMath.Core..::.DoubleVector
%
On input a vector with the same length as x. On output contains the function values y[i] at the points x[i].
Exceptions
| Exception | Condition |
|---|---|
| CenterSpace.NMath.Core..::.InvalidArgumentException | Thrown if the input vectors x and y do not have the same length. |