TensorLayout.Equality Operator

Compares two layouts for equality.

Definition

Namespace: Numerics.NET.Tensors
Assembly: Numerics.NET.Tensors (in Numerics.NET.Tensors.dll) Version: 9.0.3
C#
public static bool operator ==(
	TensorLayout left,
	TensorLayout right
)

Parameters

left  TensorLayout
The first layout to compare.
right  TensorLayout
The second layout to compare.

Return Value

Boolean
true if left and right have the same rank and the same strides; otherwise false.

See Also