Constructs a square FloatSymmetricMatrix instance by extracting the upper triangular part of a square general matrix.

Namespace:  CenterSpace.NMath.Matrix
Assembly:  NMath (in NMath.dll) Version: 5.1.0.0

Syntax

C#
public FloatSymmetricMatrix(
	FloatMatrix A
)
Visual Basic (Declaration)
Public Sub New ( _
	A As FloatMatrix _
)
Visual C++
public:
FloatSymmetricMatrix(
	FloatMatrix^ A
)

Parameters

A
Type: CenterSpace.NMath.Core..::.FloatMatrix
A square general matrix.

Remarks

If you want a symmetric matrix based on the lower triangular portion of the general matrix then transpose it before calling this method.

Exceptions

ExceptionCondition
CenterSpace.NMath.Core..::.MatrixNotSquareException Thrown if the given matrix is not square.

See Also