Click or drag to resize

NMathFunctionsCopyOnlyReal Method

Returns a copy of the input matrix only if the input matrix contains only real values (no NaN's of infinite values allowed). If the input matrix contains any non-real values an InvalidArgumentException is thrown.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public static DoubleMatrix CopyOnlyReal(
	DoubleMatrix A
)

Parameters

A  DoubleMatrix
Matrix to copy.

Return Value

DoubleMatrix
A deep copy of A if it contains only real values.
See Also