struct Vector<T>

in global :: System . Numerics

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

  • T The vector type. T can be any primitive numeric type.

public static int Count { get; }

Returns the number of elements stored in the vector.

  • Returns The number of elements stored in the vector.

public bool Equals( object obj )

Returns a value that indicates whether this instance is equal to a specified object.

  • obj The object to compare with this instance.
  • Returns if the current instance and are equal; otherwise, . The method returns if is null, or if is a vector of a different type than the current instance.

public static Vector<T> One { get; }

Returns a vector containing all ones.

  • Returns A vector containing all ones.

public string ToString( string format )

Returns the string representation of this vector using the specified format string to format individual elements.

  • format A or that defines the format of individual elements.
  • Returns The string representation of the current instance.

public string ToString( string format, IFormatProvider formatProvider )

Returns the string representation of this vector using the specified format string to format individual elements and the specified format provider to define culture-specific formatting.

  • format A or that defines the format of individual elements.
  • formatProvider A format provider that supplies culture-specific formatting information.
  • Returns The string representation of the current instance.

public static Vector<T> Zero { get; }

Returns a vector containing all zeroes.

  • Returns A vector containing all zeroes.

public void CopyTo( Span<byte> destination )

😔 No documentation found.

public void CopyTo( T[] destination, int startIndex )

😔 No documentation found.

public void CopyTo( T[] destination )

😔 No documentation found.

public static Vector<T> op_UnaryPlus( Vector<T> value )

😔 No documentation found.

public void CopyTo( Span<T> destination )

😔 No documentation found.

public static Vector<T> op_UnaryNegation( Vector<T> value )

😔 No documentation found.

public static Vector<T> op_Subtraction( Vector<T> left, Vector<T> right )

😔 No documentation found.

public static Vector<T> op_RightShift( Vector<T> value, int shiftCount )

😔 No documentation found.

public static Vector<T> op_OnesComplement( Vector<T> value )

😔 No documentation found.

public static Vector<T> op_UnsignedRightShift( Vector<T> value, int shiftCount )

😔 No documentation found.

public static Vector<T> op_Multiply( Vector<T> value, T factor )

😔 No documentation found.

public int GetHashCode( )

😔 No documentation found.

public static Vector<T> op_Multiply( T factor, Vector<T> value )

😔 No documentation found.

public string ToString( )

😔 No documentation found.

public bool TryCopyTo( Span<byte> destination )

😔 No documentation found.

public bool TryCopyTo( Span<T> destination )

😔 No documentation found.

public Type GetType( )

😔 No documentation found.

public Vector<T>( T value )

😔 No documentation found.

public Vector<T>( T[] values )

😔 No documentation found.

public Vector<T>( T[] values, int index )

😔 No documentation found.

public Vector<T>( ReadOnlySpan<T> values )

😔 No documentation found.

public bool Equals( Vector<T> other )

😔 No documentation found.

public Vector<T>( Span<T> values )

😔 No documentation found.

public static Vector<T> op_LeftShift( Vector<T> value, int shiftCount )

😔 No documentation found.

public static Vector<T> AllBitsSet { get; }

😔 No documentation found.

public static Vector<T> Indices { get; }

😔 No documentation found.

public static bool IsSupported { get; }

😔 No documentation found.

public T Item { get; }

😔 No documentation found.

public static Vector<T> op_Addition( Vector<T> left, Vector<T> right )

😔 No documentation found.

public static Vector<T> op_BitwiseAnd( Vector<T> left, Vector<T> right )

😔 No documentation found.

public static Vector<T> op_BitwiseOr( Vector<T> left, Vector<T> right )

😔 No documentation found.

public static Vector<T> op_Division( Vector<T> left, Vector<T> right )

😔 No documentation found.

public static Vector<T> op_Division( Vector<T> left, T right )

😔 No documentation found.

public static bool op_Equality( Vector<T> left, Vector<T> right )

😔 No documentation found.

public static Vector<T> op_ExclusiveOr( Vector<T> left, Vector<T> right )

😔 No documentation found.

public static Vector<byte> op_Explicit( Vector<T> value )

😔 No documentation found.

public static Vector<double> op_Explicit( Vector<T> value )

😔 No documentation found.

public static Vector<short> op_Explicit( Vector<T> value )

😔 No documentation found.

public static Vector<int> op_Explicit( Vector<T> value )

😔 No documentation found.

public static Vector<long> op_Explicit( Vector<T> value )

😔 No documentation found.

public static Vector<IntPtr> op_Explicit( Vector<T> value )

😔 No documentation found.

public static Vector<UIntPtr> op_Explicit( Vector<T> value )

😔 No documentation found.

public static Vector<sbyte> op_Explicit( Vector<T> value )

😔 No documentation found.

public static Vector<float> op_Explicit( Vector<T> value )

😔 No documentation found.

public static Vector<ushort> op_Explicit( Vector<T> value )

😔 No documentation found.

public static Vector<uint> op_Explicit( Vector<T> value )

😔 No documentation found.

public static Vector<ulong> op_Explicit( Vector<T> value )

😔 No documentation found.

public static bool op_Inequality( Vector<T> left, Vector<T> right )

😔 No documentation found.

public static Vector<T> op_Multiply( Vector<T> left, Vector<T> right )

😔 No documentation found.

public Vector<T>( ReadOnlySpan<byte> values )

😔 No documentation found.