ILNumerics Ultimate VS

ExtensionMethodsIteratorTout Method (BaseArraySByte, FuncSByte, Tout, NullableStorageOrders)

ILNumerics Ultimate VS Documentation
ILNumerics - Technical Application Development
Efficient iterator over the array for use in foreach loops.

[ILNumerics Core Module]

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

public static IEnumerable<Tout> Iterator<Tout>(
	this BaseArray<sbyte> A,
	Func<sbyte, Tout> converter,
	Nullable<StorageOrders> order = null
where Tout : struct, new()


Type: ILNumericsBaseArraySByte
The array instance.
Type: SystemFuncSByte, Tout
Converter function transforming the element type into the required output type Tout.
order (Optional)
Type: SystemNullableStorageOrders
[Optional] Determines the order the elements are walked along. Default: null (DefaultStorageOrder)

Type Parameters


Return Value

Type: IEnumerableTout
Slim, self destructing iterator instance, iterating over all elements of this array.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type BaseArraySByte. 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).

[ILNumerics Core Module]

See Also