[]
Initializes a new instance of Matrix class.
public Matrix()
Public Sub New()
Initializes a new instance of Matrix class.
public Matrix(int width, int height)
Public Sub New(width As Integer, height As Integer)
| Type | Name | Description |
|---|---|---|
| int | width | A int indicates the number of row. |
| int | height | A int indicates the number of column. |
Initializes a new instance of Matrix class.
public Matrix(T[,] elements)
Public Sub New(elements As T(,))
| Type | Name | Description |
|---|---|---|
| T[,] | elements |
Initializes a new instance of Matrix class.
public Matrix(bool vertical, params Vector<T>[] vectors)
Public Sub New(vertical As Boolean, ParamArray vectors As Vector(Of T)())
| Type | Name | Description |
|---|---|---|
| bool | vertical | A bool indicates whether the direction of vectors is vertical. |
| Vector<T>[] | vectors | A Vector array indicates the vectors. |