Click or drag to resize

NMathFunctionsPseudoInverse(FloatMatrix, FloatMatrix, Single) 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 FloatMatrix PseudoInverse(
	FloatMatrix A,
	FloatMatrix pseudoInverse,
	float epsilon
)

Parameters

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

Return Value

FloatMatrix
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