Vector<T>.One Property

Definition

Returns a vector containing all ones.

public:
 static property System::Numerics::Vector<T> One { System::Numerics::Vector<T> get(); };
public static System.Numerics.Vector<T> One { get; }
member this.One : System.Numerics.Vector<'T (requires 'T : struct)>
Public Shared ReadOnly Property One As Vector(Of T)

Property Value

Vector<T>

A vector containing all ones.

Exceptions

.NET 5.0 and later: Type T is not supported.

Applies to