Vector<T>.One Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.