ILNumerics Ultimate VS

ExtensionMethodsIteratorT Method (BaseArrayT, NullableStorageOrders)

ILNumerics Ultimate VS Documentation
ILNumerics - Technical Application Development
Efficient iterator over generic type elements for use in foreach loops.

[ILNumerics Core Module]

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

public static IEnumerable<T> Iterator<T>(
	this BaseArray<T> A,
	Nullable<StorageOrders> order = null
)

Parameters

A
Type: ILNumericsBaseArrayT
The array instance.
order (Optional)
Type: SystemNullableStorageOrders
[Optional] Determines the order the elements are walked along. Default: null (DefaultStorageOrder)

Type Parameters

T
Element type.

Return Value

Type: IEnumerableT
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 BaseArrayT. 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

[ILNumerics Core Module]

See Also

Reference