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