Olvasás angol nyelven Szerkesztés

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


Vector128.CopyTo Method

Definition

Overloads

CopyTo<T>(Vector128<T>, Span<T>)

Copies a Vector128<T> to a given span.

CopyTo<T>(Vector128<T>, T[])

Copies a Vector128<T> to a given array.

CopyTo<T>(Vector128<T>, T[], Int32)

Copies a Vector128<T> to a given array starting at the specified index.

CopyTo<T>(Vector128<T>, Span<T>)

Source:
Vector128.cs
Source:
Vector128.cs
Source:
Vector128.cs

Copies a Vector128<T> to a given span.

C#
public static void CopyTo<T>(this System.Runtime.Intrinsics.Vector128<T> vector, Span<T> destination);
C#
public static void CopyTo<T>(this System.Runtime.Intrinsics.Vector128<T> vector, Span<T> destination) where T : struct;

Type Parameters

T

The type of the elements in the vector.

Parameters

vector
Vector128<T>

The vector to be copied.

destination
Span<T>

The span to which the vector is copied.

Exceptions

The length of destination is less than Count.

The type of vector and destination (T) is not supported.

Applies to

.NET 10 és más verziók
Termék Verziók
.NET 7, 8, 9, 10

CopyTo<T>(Vector128<T>, T[])

Source:
Vector128.cs
Source:
Vector128.cs
Source:
Vector128.cs

Copies a Vector128<T> to a given array.

C#
public static void CopyTo<T>(this System.Runtime.Intrinsics.Vector128<T> vector, T[] destination);
C#
public static void CopyTo<T>(this System.Runtime.Intrinsics.Vector128<T> vector, T[] destination) where T : struct;

Type Parameters

T

The type of the elements in the vector.

Parameters

vector
Vector128<T>

The vector to be copied.

destination
T[]

The array to which vector is copied.

Exceptions

destination is null.

The length of destination is less than Count.

The type of vector and destination (T) is not supported.

Applies to

.NET 10 és más verziók
Termék Verziók
.NET 7, 8, 9, 10

CopyTo<T>(Vector128<T>, T[], Int32)

Source:
Vector128.cs
Source:
Vector128.cs
Source:
Vector128.cs

Copies a Vector128<T> to a given array starting at the specified index.

C#
public static void CopyTo<T>(this System.Runtime.Intrinsics.Vector128<T> vector, T[] destination, int startIndex);
C#
public static void CopyTo<T>(this System.Runtime.Intrinsics.Vector128<T> vector, T[] destination, int startIndex) where T : struct;

Type Parameters

T

The type of the elements in the vector.

Parameters

vector
Vector128<T>

The vector to be copied.

destination
T[]

The array to which vector is copied.

startIndex
Int32

The starting index of destination which vector will be copied to.

Exceptions

The length of destination is less than Count.

destination is null.

startIndex is negative or greater than the length of destination.

The type of vector and destination (T) is not supported.

Applies to

.NET 10 és más verziók
Termék Verziók
.NET 7, 8, 9, 10