ILNumerics Ultimate VS

ExtensionMethods.GetValueSeqAs<T> 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.Arrays.ConcreteArray<BaseArray, Cell, InCell, OutCell, RetCell, CellStorage>
The source cell array.
i
Type: System.Int64
Sequential element index into A

Type Parameters

T
Target element type. Must be a ValueType.

Return Value

Type: RetArray<T>
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 ConcreteArray<BaseArray, 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(ConcreteArray<UMP, UMP, UMP, UMP, UMP, UMP> , InArray<UInt32> , Int32) in order to convert multidimensional indices into a sequential index.

[ILNumerics Core Module]

See Also

Reference