ILNumerics Ultimate VS

ILMathvectorT Method (Int64, FuncInt64, T)

ILNumerics Ultimate VS Documentation
ILNumerics - Technical Application Development
Generator function, creates vector of specified length, compute values by index.

[ILNumerics Computing Engine]

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

public static RetArray<T> vector<T>(
	long length,
	Func<long, T> func
)

Parameters

length
Type: SystemInt64
The number of elements for the new vector.
func
Type: SystemFuncInt64, T
Generator function, transforms the 0-based index into a value.

Type Parameters

T
The element type.

Return Value

Type: RetArrayT
Vector of given length with values computed based on their index.
Remarks

[ILNumerics Computing Engine]

See Also

Reference