Vector256.CopyTo 方法

定义

重载

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

Vector256<T> 复制到从指定索引处开始的给定数组。

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

Vector256<T> 复制到给定的数组。

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

Vector256<T> 复制到给定范围。

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

Source:
Vector256.cs
Source:
Vector256.cs
Source:
Vector256.cs

Vector256<T> 复制到从指定索引处开始的给定数组。

public:
generic <typename T>
 where T : value class[System::Runtime::CompilerServices::Extension]
 static void CopyTo(System::Runtime::Intrinsics::Vector256<T> vector, cli::array <T> ^ destination, int startIndex);
public:
generic <typename T>
[System::Runtime::CompilerServices::Extension]
 static void CopyTo(System::Runtime::Intrinsics::Vector256<T> vector, cli::array <T> ^ destination, int startIndex);
public static void CopyTo<T> (this System.Runtime.Intrinsics.Vector256<T> vector, T[] destination, int startIndex) where T : struct;
public static void CopyTo<T> (this System.Runtime.Intrinsics.Vector256<T> vector, T[] destination, int startIndex);
static member CopyTo : System.Runtime.Intrinsics.Vector256<'T (requires 'T : struct)> * 'T[] * int -> unit (requires 'T : struct)
static member CopyTo : System.Runtime.Intrinsics.Vector256<'T> * 'T[] * int -> unit
<Extension()>
Public Sub CopyTo(Of T As Structure) (vector As Vector256(Of T), destination As T(), startIndex As Integer)
<Extension()>
Public Sub CopyTo(Of T) (vector As Vector256(Of T), destination As T(), startIndex As Integer)

类型参数

T

向量中的元素的类型。

参数

vector
Vector256<T>

要复制的向量。

destination
T[]

vector 复制到的数组。

startIndex
Int32

要复制到 vectordestination 起始索引。

例外

destination 的长度小于 Count

destination null

startIndex 为负数或大于 destination长度。

不支持 vectordestination 类型(T)。

适用于

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

Source:
Vector256.cs
Source:
Vector256.cs
Source:
Vector256.cs

Vector256<T> 复制到给定的数组。

public:
generic <typename T>
 where T : value class[System::Runtime::CompilerServices::Extension]
 static void CopyTo(System::Runtime::Intrinsics::Vector256<T> vector, cli::array <T> ^ destination);
public:
generic <typename T>
[System::Runtime::CompilerServices::Extension]
 static void CopyTo(System::Runtime::Intrinsics::Vector256<T> vector, cli::array <T> ^ destination);
public static void CopyTo<T> (this System.Runtime.Intrinsics.Vector256<T> vector, T[] destination) where T : struct;
public static void CopyTo<T> (this System.Runtime.Intrinsics.Vector256<T> vector, T[] destination);
static member CopyTo : System.Runtime.Intrinsics.Vector256<'T (requires 'T : struct)> * 'T[] -> unit (requires 'T : struct)
static member CopyTo : System.Runtime.Intrinsics.Vector256<'T> * 'T[] -> unit
<Extension()>
Public Sub CopyTo(Of T As Structure) (vector As Vector256(Of T), destination As T())
<Extension()>
Public Sub CopyTo(Of T) (vector As Vector256(Of T), destination As T())

类型参数

T

向量中的元素的类型。

参数

vector
Vector256<T>

要复制的向量。

destination
T[]

vector 复制到的数组。

例外

destination null

destination 的长度小于 Count

不支持 vectordestination 类型(T)。

适用于

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

Source:
Vector256.cs
Source:
Vector256.cs
Source:
Vector256.cs

Vector256<T> 复制到给定范围。

public:
generic <typename T>
 where T : value class[System::Runtime::CompilerServices::Extension]
 static void CopyTo(System::Runtime::Intrinsics::Vector256<T> vector, Span<T> destination);
public:
generic <typename T>
[System::Runtime::CompilerServices::Extension]
 static void CopyTo(System::Runtime::Intrinsics::Vector256<T> vector, Span<T> destination);
public static void CopyTo<T> (this System.Runtime.Intrinsics.Vector256<T> vector, Span<T> destination) where T : struct;
public static void CopyTo<T> (this System.Runtime.Intrinsics.Vector256<T> vector, Span<T> destination);
static member CopyTo : System.Runtime.Intrinsics.Vector256<'T (requires 'T : struct)> * Span<'T (requires 'T : struct)> -> unit (requires 'T : struct)
static member CopyTo : System.Runtime.Intrinsics.Vector256<'T> * Span<'T> -> unit
<Extension()>
Public Sub CopyTo(Of T As Structure) (vector As Vector256(Of T), destination As Span(Of T))
<Extension()>
Public Sub CopyTo(Of T) (vector As Vector256(Of T), destination As Span(Of T))

类型参数

T

向量中的元素的类型。

参数

vector
Vector256<T>

要复制的向量。

destination
Span<T>

vector 复制到的跨度。

例外

destination 的长度小于 Count

不支持 vectordestination 类型(T)。

适用于