ILNumerics Ultimate VS

ExtensionMethodsGetValueSeqAsT Method

ILNumerics Ultimate VS Documentation
ILNumerics - Technical Application Development
Retrieves an ILNumerics array from a cell A element of 'compatible' element type. Only the target type is to be determined.

[ILNumerics Core Module]

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

public static RetArray<T> GetValueSeqAs<T>(
	this ConcreteArray<BaseArray, Cell, InCell, OutCell, RetCell, CellStorage> A,
	long i
)
where T : struct, new()

Parameters

A
Type: ILNumerics.Core.ArraysConcreteArrayBaseArray, Cell, InCell, OutCell, RetCell, CellStorage
The source cell array.
i
Type: SystemInt64
Sequential element index into A

Type Parameters

T
Target element type. Must be a ValueType.

Return Value

Type: RetArrayT
Array retrieved at sequential index position i in column major order. Elements are converted into the target element type, if possible.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ConcreteArrayBaseArray, Cell, InCell, OutCell, RetCell, CellStorage. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Remarks

Note that the cell element position is specified as sequential index position only. Use ind2sub``6(ConcreteArrayUMP, UMP, UMP, UMP, UMP, UMP, InArrayUInt32, Int32) in order to convert multidimensional indices into a sequential index.

[ILNumerics Core Module]

See Also

Reference