Vector.CreateScalarUnsafe(T) Method
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.
Creates a new Vector
public:
generic
static System::Numerics::Vector CreateScalarUnsafe(T value);
public static System.Numerics.Vector CreateScalarUnsafe(T value);
static member CreateScalarUnsafe : 'T -> System.Numerics.Vector<'T>
Public Function CreateScalarUnsafe(Of T) (value As T) As Vector(Of T)
Type Parameters
- T
The type of the elements in the vector.
Parameters
- value
- T
The value that element 0 will be initialized to.
Returns
A new Vectorvalue and the remaining elements left uninitialized.
Exceptions
The type of value (T) is not supported.