Click or drag to resize

NMathFunctionsPseudoInverse(DoubleMatrix, DoubleMatrix, Double) Method

Calculates the Moore Penrose pseudo inverse of a matrix and places it in the provided matrix.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public static DoubleMatrix PseudoInverse(
	DoubleMatrix A,
	DoubleMatrix pseudoInverse,
	double epsilon
)

Parameters

A  DoubleMatrix
A matrix.
pseudoInverse  DoubleMatrix
Matrix in which to place the pseudo inverse of A. Must be size A.Cols x A.Rows.
epsilon  Double
Singular values of A less than epsilon will be set to zero.

Return Value

DoubleMatrix
pseudoInverse argument which contains the pseudo inverse of A.
Exceptions
ExceptionCondition
MismatchedSizeExceptionThrown if the size of the pseudoInverse matrix is not equal to the size of the transpose of A.
See Also