System.Numerics.Vector<T>
A structure that represents a single Vector. The count of this Vector is fixed but CPU register dependent.
This struct only supports numerical types. This type is intended to be used as a building block for vectorizing
large algorithms. This type is immutable, individual elements cannot be modified.
namespace System.Numerics
{
public struct Vector<T> : IEquatable<Vector<T>>, IFormattable where T : struct
{
public static int Count { get; }
public static Vector<T> Zero { get; }
public static Vector<T> One { get; }
[JitIntrinsic]
public T this[int index] { get; }
public Vector(T value);
public Vector(T[] values);
public Vector(T[] values, int index);
public void CopyTo(T[] destination);
public void CopyTo(T[] destination, int startIndex);
public bool Equals(Vector<T> other);
public string ToString(string format);
public string ToString(string format, IFormatProvider formatProvider);
public static Vector<T>operator +(Vector<T> left, Vector<T> right);
public static Vector<T>operator -(Vector<T> left, Vector<T> right);
public static Vector<T>operator *(Vector<T> left, Vector<T> right);
public static Vector<T>operator *(Vector<T> value, T factor);
public static Vector<T>operator *(T factor, Vector<T> value);
public static Vector<T>operator /(Vector<T> left, Vector<T> right);
public static Vector<T>operator -(Vector<T> value);
public static Vector<T>operator &(Vector<T> left, Vector<T> right);
public static Vector<T>operator |(Vector<T> left, Vector<T> right);
public static Vector<T>operator ^(Vector<T> left, Vector<T> right);
public static Vector<T>operator ~(Vector<T> value);
public static bool operator ==(Vector<T> left, Vector<T> right);
public static bool operator !=(Vector<T> left, Vector<T> right);
public static explicit operator Vector<byte>(Vector<T> value);
public static explicit operator Vector<sbyte>(Vector<T> value);
public static explicit operator Vector<ushort>(Vector<T> value);
public static explicit operator Vector<short>(Vector<T> value);
public static explicit operator Vector<uint>(Vector<T> value);
public static explicit operator Vector<int>(Vector<T> value);
public static explicit operator Vector<ulong>(Vector<T> value);
public static explicit operator Vector<long>(Vector<T> value);
public static explicit operator Vector<float>(Vector<T> value);
public static explicit operator Vector<double>(Vector<T> value);
}
}