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

Namespace:  CenterSpace.NMath.Stats
Assembly:  NMathStats (in NMathStats.dll) Version: 3.4.0.0

Syntax

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

Parameters

A
Type: CenterSpace.NMath.Core..::.DoubleMatrix
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