Vector64<T> 结构

定义

generic <typename T>
 where T : value classpublic value class Vector64 : IEquatable<System::Runtime::Intrinsics::Vector64<T>>
public struct Vector64<T> : IEquatable<System.Runtime.Intrinsics.Vector64<T>> where T : struct
type Vector64<'T (requires 'T : struct)> = struct
Public Structure Vector64(Of T)
Implements IEquatable(Of Vector64(Of T))

类型参数

T
继承
Vector64<T>
实现

属性

Count

获取 TVector64<T> 的数量。Gets the number of T that are in a Vector64<T>.

Zero

获取新的 Vector64<T>,其中所有元素已初始化为零。Gets a new Vector64<T> with all elements initialized to zero.

方法

Equals(Object)

确定指定的对象是否等于当前实例。Determines whether the specified object is equal to the current instance.

Equals(Vector64<T>)

确定指定的 Vector64<T> 是否等同于当前实例。Determines whether the specified Vector64<T> is equal to the current instance.

GetHashCode()

获取实例的哈希代码。Gets the hash code for the instance.

ToString()

将当前实例转换为等效的字符串表示形式。Converts the current instance to an equivalent string representation.

扩展方法

As<T,U>(Vector64<T>)

Vector64<T> 类型的 T 重新解释为 Vector64<T> 类型的新 UReinterprets a Vector64<T> of type T as a new Vector64<T> of type U.

AsByte<T>(Vector64<T>)

Vector64<T> 重新解释为 Vector64 类型的新 ByteReinterprets a Vector64<T> as a new Vector64 of type Byte.

AsDouble<T>(Vector64<T>)

Vector64<T> 重新解释为 Vector64 类型的新 DoubleReinterprets a Vector64<T> as a new Vector64 of type Double.

AsInt16<T>(Vector64<T>)

Vector64<T> 重新解释为 Vector64 类型的新 Int16Reinterprets a Vector64<T> as a new Vector64 of type Int16.

AsInt32<T>(Vector64<T>)

Vector64<T> 重新解释为 Vector64 类型的新 Int32Reinterprets a Vector64<T> as a new Vector64 of type Int32.

AsInt64<T>(Vector64<T>)

Vector64<T> 重新解释为 Vector64 类型的新 Int64Reinterprets a Vector64<T> as a new Vector64 of type Int64.

AsSByte<T>(Vector64<T>)

Vector64<T> 重新解释为 Vector64 类型的新 SByteReinterprets a Vector64<T> as a new Vector64 of type SByte.

AsSingle<T>(Vector64<T>)

Vector64<T> 重新解释为 Vector64 类型的新 SingleReinterprets a Vector64<T> as a new Vector64 of type Single.

AsUInt16<T>(Vector64<T>)

Vector64<T> 重新解释为 Vector64 类型的新 UInt16Reinterprets a Vector64<T> as a new Vector64 of type UInt16.

AsUInt32<T>(Vector64<T>)

Vector64<T> 重新解释为 Vector64 类型的新 UInt32Reinterprets a Vector64<T> as a new Vector64 of type UInt32.

AsUInt64<T>(Vector64<T>)

Vector64<T> 重新解释为 Vector64 类型的新 UInt64Reinterprets a Vector64<T> as a new Vector64 of type UInt64.

GetElement<T>(Vector64<T>, Int32)

获取指定索引处的元素。Gets the element at the specified index.

ToScalar<T>(Vector64<T>)

将给定向量转换为包含第一个元素的值的标量。Converts the given vector to a scalar containing the value of the first element.

ToVector128<T>(Vector64<T>)

将给定向量转换为新的 Vector128<T>,将低 64 位设为给定向量的值,将高 64 位初始化为零。Converts the given vector to a new Vector128<T> with the lower 64-bits set to the value of the given vector and the upper 64-bits initialized to zero.

ToVector128Unsafe<T>(Vector64<T>)

将给定向量转换为新的 Vector128<T>,将低 64 位设为给定向量的值,将高 64 位保留为未初始化状态。Converts the given vector to a new Vector128<T> with the lower 64-bits set to the value of the given vector and the upper 64-bits left uninitialized.

WithElement<T>(Vector64<T>, Int32, T)

创建一个新的 Vector64<T>,将指定索引处的元素设置为指定值,并将其余元素设置为与给定向量中的值相同的值。Creates a new Vector64<T> with the element at the specified index set to the specified value and the remaining elements set to the same value as that in the given vector.

适用于