ILNumerics Ultimate VS

SizeIsSameShape Method (InArrayInt64)

ILNumerics Ultimate VS Documentation
ILNumerics - Technical Application Development
Compares the exact shape of this size to another size. Considering all dimensions.

[ILNumerics Core Module]

Namespace:  ILNumerics
Assembly:  ILNumerics.Core (in ILNumerics.Core.dll) Version: 5.5.0.0 (5.5.7503.3146)
Syntax

public bool IsSameShape(
	InArray<long> dim2
)

Parameters

dim2
Type: ILNumericsInArrayInt64
Array with dimension lengths to compare this Size to.

Return Value

Type: Boolean
Returns true if the shapes are the same, else returns false.
Remarks

This function is more strict than IsSameSize(Size). In order for two size descriptors to have the same shape, ALL dimensions must match - including singleton dimensions and number of dimensions.

[ILNumerics Core Module]

See Also

Reference