Click or drag to resize

ConnectivityMatrixEquality Operator

Tests for equality of two connectivity matrices. Two matrices are equal if they have the same order and all values are equal.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public static bool operator ==(
	ConnectivityMatrix A,
	ConnectivityMatrix B
)

Parameters

A  ConnectivityMatrix
A connectivity matrix.
B  ConnectivityMatrix
A connectivity matrix.

Return Value

Boolean
True if the matrices have the same order and all values are equal.
Remarks
The comparison of the values is done using operator== for doubles. Therefore, the values of the matrices must be exactly equal for this method to return true.
See Also