Vector<T> Constructor (T)

Creates a vector whose components are of a specified type.

Namespace:  System.Numerics
Assembly:  System.Numerics.Vectors (in System.Numerics.Vectors.dll)

public:
Vector(
	T value
)

Parameters

value
Type: T

The numeric type that defines the type of the components in the vector.

value can be any primitive numeric type (that is, a numeric type whose Type::IsPrimitive property returns true.

Show: