Click or drag to resize

DoubleMultiVariableFunctionEvaluate(DoubleMatrix, DoubleMatrix) Method

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

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public virtual void Evaluate(
	DoubleMatrix X,
	ref DoubleMatrix Y
)

Parameters

X  DoubleMatrix
The points at which to evaluate the function. Each row of X is a point to evaluate.
Y  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.
Exceptions
ExceptionCondition
InvalidArgumentExceptionThrown if X or Y do not have the correct sizes.
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.
See Also