| NMathFunctionsPseudoInverse(FloatMatrix, FloatMatrix, Single) Method |
Calculates the Moore Penrose pseudo inverse of a matrix and places it in the provided matrix.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public static FloatMatrix PseudoInverse(
FloatMatrix A,
FloatMatrix pseudoInverse,
float epsilon
)
Public Shared Function PseudoInverse (
A As FloatMatrix,
pseudoInverse As FloatMatrix,
epsilon As Single
) As FloatMatrix
public:
static FloatMatrix^ PseudoInverse(
FloatMatrix^ A,
FloatMatrix^ pseudoInverse,
float epsilon
)
static member PseudoInverse :
A : FloatMatrix *
pseudoInverse : FloatMatrix *
epsilon : float32 -> FloatMatrix
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
FloatMatrixpseudoInverse argument which contains the pseudo inverse of
A.
Exceptions Exception | Condition |
---|
MismatchedSizeException | Thrown if the size of the pseudoInverse
matrix is not equal to the size of the transpose of A. |
See Also