ILNumerics Ultimate VS

ILMath.flip Method (BaseArray<Int16>, Int32)

ILNumerics Ultimate VS Documentation
ILNumerics - Technical Application Development
Flips elements of A along the specified dimension.

[ILNumerics Computing Engine]

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

public static RetArray<short> flip(
	BaseArray<short> A,
	int dim = -1
)

Parameters

A
Type: ILNumerics.BaseArray<Int16>
Input array.
dim (Optional)
Type: System.Int32
[Optional] Index of the working dimension or -1 for determining the working dimension automatically (default).

Return Value

Type: RetArray<Int16>
New array with the same shape as A.
Remarks

The working dimension for dim = -1 depends on the value of ArrayStyle. For numpy style it starts with the last dimension to search for a non-singleton dimension. For ILNumericsV4 the search starts with the first dimension (index #0).

This method is implemented for all common numeric element types, including complex and logical arrays.

This function may works inplace and may returns the same instance of A.

[ILNumerics Computing Engine]

See Also

Reference

MathInternal.fliplr(BaseArray<Int16>)
MathInternal.flipud(BaseArray<Int16>)