| ConnectivityMatrix(DoubleMatrix, IEnumerableString) Constructor |
Constructs a square ConnectivityMatrix instance by extracting the upper
triangular part of a square general matrix.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public ConnectivityMatrix(
DoubleMatrix A,
IEnumerable<string> labels
)
Public Sub New (
A As DoubleMatrix,
labels As IEnumerable(Of String)
)
public:
ConnectivityMatrix(
DoubleMatrix^ A,
IEnumerable<String^>^ labels
)
new :
A : DoubleMatrix *
labels : IEnumerable<string> -> ConnectivityMatrix
Parameters
- A DoubleMatrix
- A square general matrix.
- labels IEnumerableString
- Item labels. The ith item will be associated with the
ith label.
Remarks
If you want a symmetric matrix based on the lower triangular portion
of the general matrix then transpose it before calling this method.
See Also