ILNumerics Ultimate VS

ILMathsize Method (Int64)

ILNumerics Ultimate VS Documentation
ILNumerics - Technical Application Development
Provides dimension lengths for operations expecting a size argument. Targets more than 7 dimensions.

[ILNumerics Computing Engine]

Namespace:  ILNumerics
Assembly:  ILNumerics.Computing (in ILNumerics.Computing.dll) Version: (5.5.7503.3146)

public static RetArray<long> size(
	params long[] dimensions


Type: SystemInt64

Return Value

Type: RetArrayInt64

This function is an alias for vector``1(UMP) and returns a vector of Int64 elements.

For situations requiring high-performance execution you may consider using vector``1(UMP) in order to create the required size vector once. Keep this size array around and reuse it. This prevents one from allocating additional, GC managed memory from the managed heap and may helps to increase the performance / to decrease GC activity. Otherwise, the 'params' (variable length argument) may puts pressure on the GC when used frequently in tight loops.

[ILNumerics Computing Engine]

See Also