[]
        
(Showing Draft Content)

C1.Framework.Mathematics.Vector-1.-ctor

Vector Constructor

Vector()

Initializes a new instance of the Vector<T> class.

Declaration
public Vector()
Public Sub New()

Vector(int)

Initializes a new instance of the Vector<T> class.

Declaration
public Vector(int dimension)
Public Sub New(dimension As Integer)
Parameters
Type Name Description
int dimension

A int indicates the dimension of the vector.

Remarks

The dimension of the vector must be bigger than or equal zero.

Vector(params T[])

Initializes a new instance of the Vector<T> class.

Declaration
public Vector(params T[] items)
Public Sub New(ParamArray items As T())
Parameters
Type Name Description
T[] items

A T array indicates the items.