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 DoubleComplexGSVDecomp( DoubleComplexMatrix A, DoubleComplexMatrix B, bool computeU, bool computeV, bool computeQ ) |
| Visual Basic (Declaration) |
|---|
Public Sub New ( _ A As DoubleComplexMatrix, _ B As DoubleComplexMatrix, _ computeU As Boolean, _ computeV As Boolean, _ computeQ As Boolean _ ) |
| Visual C++ |
|---|
public: DoubleComplexGSVDecomp( DoubleComplexMatrix^ A, DoubleComplexMatrix^ B, bool computeU, bool computeV, bool computeQ ) |
Parameters
- A
- Type: CenterSpace.NMath.Core..::.DoubleComplexMatrix
A matrix.
- B
- Type: CenterSpace.NMath.Core..::.DoubleComplexMatrix
A matrix.
- computeU
- Type: System..::.Boolean
If true the matrix U will be computed.
- computeV
- Type: System..::.Boolean
If true the matrix V will be computed.
- computeQ
- Type: System..::.Boolean
If true the matrix Q will be computed.
Exceptions
| Exception | Condition |
|---|---|
| CenterSpace.NMath.Core..::.MismatchedSizeException | Thrown if A and B do not have the same number of columns. |