# Vector64<T> Struct

## Definition

Represents a 64-bit vector of a specified numeric type that is suitable for low-level optimization of parallel algorithms.

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

#### Type Parameters

T

The type of the elements in the vector.

Inheritance
Vector64<T>
Implements

## Properties

 Gets a new Vector64 with all bits set to 1. Gets the number of `T` that are in a Vector64. Gets a value that indicates whether `T` is supported. Gets the element at the specified index. Gets a new Vector64 with all elements initialized to one. Gets a new Vector64 with all elements initialized to zero.

## Methods

 Determines whether the specified object is equal to the current instance. Determines whether the specified Vector64 is equal to the current instance. Gets the hash code for the instance. Converts the current instance to an equivalent string representation.

## Operators

 Adds two vectors to compute their sum. Computes the bitwise-and of two vectors. Computes the bitwise-or of two vectors. Divides a vector by a scalar to compute the per-element quotient. Divides two vectors to compute their quotient. Compares two vectors to determine if all elements are equal. Computes the exclusive-or of two vectors. Compares two vectors to determine if any elements are not equal. Shifts each element of a vector left by the specified amount. Multiplies a vector by a scalar to compute their product. Multiplies a vector by a scalar to compute their product. Multiplies two vectors to compute their element-wise product. Computes the ones-complement of a vector. Shifts (signed) each element of a vector right by the specified amount. Subtracts two vectors to compute their difference. Computes the unary negation of a vector. Returns a given vector unchanged. Shifts (unsigned) each element of a vector right by the specified amount.

## Extension Methods

 Reinterprets a Vector64 of type `TFrom` as a new Vector64 of type `TTo`. Reinterprets a Vector64 as a new Vector64 of type Byte. Reinterprets a Vector64 as a new Vector64 of type Double. Reinterprets a Vector64 as a new Vector64 of type Int16. Reinterprets a Vector64 as a new Vector64 of type Int32. Reinterprets a Vector64 as a new Vector64 of type Int64. Reinterprets a Vector64 as a new Vector64. Reinterprets a Vector64 as a new Vector64. Reinterprets a Vector64 as a new Vector64 of type SByte. Reinterprets a Vector64 as a new Vector64 of type Single. Reinterprets a Vector64 as a new Vector64 of type UInt16. Reinterprets a Vector64 as a new Vector64 of type UInt32. Reinterprets a Vector64 as a new Vector64 of type UInt64. Copies a Vector64 to a given array. Copies a Vector64 to a given array starting at the specified index. Copies a Vector64 to a given span. Extracts the most significant bit from each element in a vector. Gets the element at the specified index. Stores a vector at the given destination. Stores a vector at the given aligned destination. Stores a vector at the given aligned destination. Stores a vector at the given destination. Stores a vector at the given destination. Converts the given vector to a scalar containing the value of the first element. Converts the given vector to a new Vector128 with the lower 64-bits set to the value of the given vector and the upper 64-bits initialized to zero. Converts the given vector to a new Vector128 with the lower 64-bits set to the value of the given vector and the upper 64-bits left uninitialized. Tries to copy a Vector to a given span. Creates a new Vector64 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.