ILNumerics Ultimate VS

SizeIsSameSize Method

ILNumerics Ultimate VS Documentation
ILNumerics - Technical Application Development
Compares this size to another size, ignoring leading and trailing singleton 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 IsSameSize(
	Size dim2
)

Parameters

dim2
Type: ILNumericsSize
size descriptor to compare this to.

Return Value

Type: Boolean
Returns true if the sizes are the same, else returns false. The comparison is made by ignoring singleton dimensions. Therefore only non singleton dimensions are compared in the order of their appearance.
Remarks

The function returns true, if the squeezed dimensions of both size descriptors match. The sizes of empty arrays are not required to match exactly in order to be considered equal.

[ILNumerics Core Module]

See Also

Reference