Click or drag to resize

DoubleSymBandMatrixEquality Operator

Tests for equality of two symmetric banded matrices. Two matrices are equal if they have the same dimensions, and half bandwidth, and all values are equal.

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

Parameters

A  DoubleSymBandMatrix
A symmetric banded matrix.
B  DoubleSymBandMatrix
A symmetric banded matrix.

Return Value

Boolean
True if the matrices have the same dimensions, half bandwidths, 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