Szerkesztés

Megosztás a következőn keresztül:


Vector512.CreateSequence<T>(T, T) Method

Definition

Creates a new Vector512<T> instance where the elements begin at a specified value and which are spaced apart according to another specified value.

public:
generic <typename T>
 static System::Runtime::Intrinsics::Vector512<T> CreateSequence(T start, T step);
public static System.Runtime.Intrinsics.Vector512<T> CreateSequence<T> (T start, T step);
static member CreateSequence : 'T * 'T -> System.Runtime.Intrinsics.Vector512<'T>
Public Function CreateSequence(Of T) (start As T, step As T) As Vector512(Of T)

Type Parameters

T

The type of the elements in the vector.

Parameters

start
T

The value that element 0 will be initialized to.

step
T

The value that indicates how far apart each element should be from the previous.

Returns

A new Vector512<T> instance with the first element initialized to start and each subsequent element initialized to the value of the previous element plus step.

Applies to