Computes the general singular value decomposition
U'AQ = D1(0 R), V'BQ = D2(0 R)
for two matrices A and B, optionally computing U, V, and Q.
A and B must have the same number of columns.
Namespace:
CenterSpace.NMath.MatrixAssembly: NMath (in NMath.dll) Version: 5.1.0.0
Syntax
| C# |
|---|
public FloatGSVDecomp GetDecomp( FloatMatrix A, FloatMatrix B ) |
| Visual Basic (Declaration) |
|---|
Public Function GetDecomp ( _ A As FloatMatrix, _ B As FloatMatrix _ ) As FloatGSVDecomp |
| Visual C++ |
|---|
public: FloatGSVDecomp^ GetDecomp( FloatMatrix^ A, FloatMatrix^ B ) |
Parameters
- A
- Type: CenterSpace.NMath.Core..::.FloatMatrix
A matrix.
- B
- Type: CenterSpace.NMath.Core..::.FloatMatrix
A matrix.
Remarks
If the this instances property Compute[Z] is true the matrix Z
will be computed, where Z is one of U, V, or Q.
Exceptions
| Exception | Condition |
|---|---|
| CenterSpace.NMath.Core..::.MismatchedSizeException | Thrown if A and B do not have the same number of columns. |