Evaluate the function at the points X and place the results in Y.

Namespace:  CenterSpace.NMath.Core
Assembly:  NMath (in NMath.dll) Version: 5.1.0.0

Syntax

C#
public virtual void Evaluate(
	DoubleMatrix X,
	ref DoubleMatrix Y
)
Visual Basic (Declaration)
Public Overridable Sub Evaluate ( _
	X As DoubleMatrix, _
	ByRef Y As DoubleMatrix _
)
Visual C++
public:
virtual void Evaluate(
	DoubleMatrix^ X, 
	DoubleMatrix^% Y
)

Parameters

X
Type: CenterSpace.NMath.Core..::.DoubleMatrix
The points at which to evaluate the function. Each row of X is a point to evaluate.
Y
Type: CenterSpace.NMath.Core..::.DoubleMatrix %
On input the vector Y should have the correct size. On output the values in Y are overwritten with the function values at X.

Remarks

On output the ith row of Y contains the function value evaluated at the ith row of X. Deriving classes should override this method if a more efficient algorithm is desired.

Exceptions

ExceptionCondition
CenterSpace.NMath.Core..::.InvalidArgumentExceptionThrown if X or Y do not have the correct sizes.

See Also