Vector256<T> Vector256<T> Vector256<T> Vector256<T> Struct

Definition

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

Type Parameters

T
Inheritance
Vector256<T>Vector256<T>Vector256<T>Vector256<T>
Implements

Properties

Count Count Count Count

Gets the number of T that are in a Vector256<T>.

Zero Zero Zero Zero

Gets a new Vector256<T> with all elements initialized to zero.

Methods

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current instance.

Equals(Vector256<T>) Equals(Vector256<T>) Equals(Vector256<T>) Equals(Vector256<T>)

Determines whether the specified Vector256<T> is equal to the current instance.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Gets the hash code for the instance.

ToString() ToString() ToString() ToString()

Converts the current instance to an equivalent string representation.

Extension Methods

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

Reinterprets a Vector256<T> of type T as a new Vector256<T> of type U.

AsByte<T>(Vector256<T>) AsByte<T>(Vector256<T>) AsByte<T>(Vector256<T>) AsByte<T>(Vector256<T>)

Reinterprets a Vector256<T> as a new Vector256 of type Byte.

AsDouble<T>(Vector256<T>) AsDouble<T>(Vector256<T>) AsDouble<T>(Vector256<T>) AsDouble<T>(Vector256<T>)

Reinterprets a Vector256<T> as a new Vector256 of type Double.

AsInt16<T>(Vector256<T>) AsInt16<T>(Vector256<T>) AsInt16<T>(Vector256<T>) AsInt16<T>(Vector256<T>)

Reinterprets a Vector256<T> as a new Vector256 of type Int16.

AsInt32<T>(Vector256<T>) AsInt32<T>(Vector256<T>) AsInt32<T>(Vector256<T>) AsInt32<T>(Vector256<T>)

Reinterprets a Vector256<T> as a new Vector256 of type Int32.

AsInt64<T>(Vector256<T>) AsInt64<T>(Vector256<T>) AsInt64<T>(Vector256<T>) AsInt64<T>(Vector256<T>)

Reinterprets a Vector256<T> as a new Vector256 of type Int64.

AsSByte<T>(Vector256<T>) AsSByte<T>(Vector256<T>) AsSByte<T>(Vector256<T>) AsSByte<T>(Vector256<T>)

Reinterprets a Vector256<T> as a new Vector256 of type SByte.

AsSingle<T>(Vector256<T>) AsSingle<T>(Vector256<T>) AsSingle<T>(Vector256<T>) AsSingle<T>(Vector256<T>)

Reinterprets a Vector256<T> as a new Vector256 of type Single.

AsUInt16<T>(Vector256<T>) AsUInt16<T>(Vector256<T>) AsUInt16<T>(Vector256<T>) AsUInt16<T>(Vector256<T>)

Reinterprets a Vector256<T> as a new Vector256 of type UInt16.

AsUInt32<T>(Vector256<T>) AsUInt32<T>(Vector256<T>) AsUInt32<T>(Vector256<T>) AsUInt32<T>(Vector256<T>)

Reinterprets a Vector256<T> as a new Vector256 of type UInt32.

AsUInt64<T>(Vector256<T>) AsUInt64<T>(Vector256<T>) AsUInt64<T>(Vector256<T>) AsUInt64<T>(Vector256<T>)

Reinterprets a Vector256<T> as a new Vector256 of type UInt64.

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

Gets the element at the specified index.

GetLower<T>(Vector256<T>) GetLower<T>(Vector256<T>) GetLower<T>(Vector256<T>) GetLower<T>(Vector256<T>)

Gets the value of the lower 128-bits as a new Vector128<T>.

GetUpper<T>(Vector256<T>) GetUpper<T>(Vector256<T>) GetUpper<T>(Vector256<T>) GetUpper<T>(Vector256<T>)

Gets the value of the upper 128-bits as a new Vector128<T>.

ToScalar<T>(Vector256<T>) ToScalar<T>(Vector256<T>) ToScalar<T>(Vector256<T>) ToScalar<T>(Vector256<T>)

Converts the given vector to a scalar containing the value of the first element.

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

Creates a new Vector256<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.

WithLower<T>(Vector256<T>, Vector128<T>) WithLower<T>(Vector256<T>, Vector128<T>) WithLower<T>(Vector256<T>, Vector128<T>) WithLower<T>(Vector256<T>, Vector128<T>)

Creates a new Vector256<T> with the lower 128-bits set to the specified value and the upper 128-bits set to the same value as that in the given vector.

WithUpper<T>(Vector256<T>, Vector128<T>) WithUpper<T>(Vector256<T>, Vector128<T>) WithUpper<T>(Vector256<T>, Vector128<T>) WithUpper<T>(Vector256<T>, Vector128<T>)

Creates a new Vector256<T> with the upper 128-bits set to the specified value and the upper 128-bits set to the same value as that in the given vector.

Applies to