แก้ไข

แชร์ผ่าน


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

Definition

Creates a new Vector128<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::Vector128<T> CreateSequence(T start, T step);
public static System.Runtime.Intrinsics.Vector128<T> CreateSequence<T> (T start, T step);
static member CreateSequence : 'T * 'T -> System.Runtime.Intrinsics.Vector128<'T>
Public Function CreateSequence(Of T) (start As T, step As T) As Vector128(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 Vector128<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