[]
Initializes a new instance of Matrix class.
public Matrix()
Initializes a new instance of Matrix class.
public Matrix(int width, int height)
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)
Type | Name | Description |
---|---|---|
T[,] | elements |
Initializes a new instance of Matrix class.
public Matrix(bool vertical, params Vector<T>[] vectors)
Type | Name | Description |
---|---|---|
bool | vertical | A bool indicates whether the direction of vectors is vertical. |
Vector<T>[] | vectors | A Vector array indicates the vectors. |