Rediger

Del via


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; }
static member One : System.Numerics.Vector<'T (requires 'T : struct)>
static member One : System.Numerics.Vector<'T>
Public Shared ReadOnly Property One As Vector(Of T)

Property Value

A vector containing all ones.

Exceptions

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

Applies to