Constructs a square DoubleHermitianMatrix instance by extracting the upper
triangular part of a square general matrix.
Namespace:
CenterSpace.NMath.MatrixAssembly: NMath (in NMath.dll) Version: 5.1.0.0
Syntax
| C# |
|---|
public DoubleHermitianMatrix( DoubleComplexMatrix A ) |
| Visual Basic (Declaration) |
|---|
Public Sub New ( _ A As DoubleComplexMatrix _ ) |
| Visual C++ |
|---|
public: DoubleHermitianMatrix( DoubleComplexMatrix^ A ) |
Parameters
- A
- Type: CenterSpace.NMath.Core..::.DoubleComplexMatrix
A square general matrix.
Remarks
If you want an Hermitian matrix based on the lower triangular portion
of the general matrix then transpose it before calling this method.
Exceptions
| Exception | Condition |
|---|---|
| CenterSpace.NMath.Core..::.MatrixNotSquareException | Thrown if the given matrix is not square. |