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 DoubleGSVDecomp GetDecomp( DoubleMatrix A, DoubleMatrix B ) |
| Visual Basic (Declaration) |
|---|
Public Function GetDecomp ( _ A As DoubleMatrix, _ B As DoubleMatrix _ ) As DoubleGSVDecomp |
| Visual C++ |
|---|
public: DoubleGSVDecomp^ GetDecomp( DoubleMatrix^ A, DoubleMatrix^ B ) |
Parameters
- A
- Type: CenterSpace.NMath.Core..::.DoubleMatrix
A matrix.
- B
- Type: CenterSpace.NMath.Core..::.DoubleMatrix
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. |