ILNumerics Ultimate VS

SizeGetShifted Method

ILNumerics Ultimate VS Documentation
ILNumerics - Technical Application Development
Create a new BSD with a rotated version of the dimensions of this size descriptor.

[ILNumerics Core Module]

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

public void GetShifted(
	int shift,
	long* outBSD
)

Parameters

shift
Type: SystemInt32
Number of dimensions to shift (rotate) this size's dimensions. Rotation is done to the left.
outBSD
Type: SystemInt64*
[Output] Reference to a bsd array used to store the shifted version of this BSD. outBSD may point to the same instance as the BSD stored within this Size, in which case this size will be altered!.

Return Value

Type: 
Buffer Size Descriptor with rotated dimension order and the same dimension lengths as this size's descriptor.
Remarks

The functions returns a BSD using the provided outBSD array, having the same dimensions than this size descriptor. The order of dimensions of the returned BSD is rotated to the left by shift.

This function is prepared to work on arbitrarily strided size descriptors and on the _same instance_ (inplace) hold by this size, GetBSD(Boolean).

The provided array outBSD must be of the same length than the size descriptor stored in this Size.

GetShifted(Int32, Int64*) does nothing on scalars and 1-dimensional vectors (NOP).

[ILNumerics Core Module]

See Also

Reference