# Matrix Construction Node ## Description Constructs square matrices from the four input vectors **M0**, **M1**, **M2** and **M3**. This node can be used to generate matrices of types **Matrix 2x2**, **Matrix 3x3** and **Matrix 4x4**. The dropdown on the node can be used to select whether the inputs values specify the matrix rows or columns. * **Row** : Input vectors specify matrix rows from top to bottom. * **Column** : Input vectors specify matrix columns from left to right. Matrix outputs are taken from the top left corner of the construction of the inputs. This can be used to generate different dimension square matrices from different dimension vectors. For example, connecting **Vector 2** type values to inputs **M0** and **M1** will generate the desired matrix from the output **2x2**. ## Ports | Name | Direction | Type | Description | |:--- |:---|:---|:---| | M0 | Input | Vector 4 | First row or column | | M1 | Input | Vector 4 | Second row or column | | M2 | Input | Vector 4 | Third row or column | | M3 | Input | Vector 4 | Fourth row or column | | 4x4 | Output | Matrix 4x4 | Output as Matrix 4x4 | | 3x3 | Output | Matrix 3x3 | Output as Matrix 3x3 | | 2x2 | Output | Matrix 2x2 | Output as Matrix 2x2 | ## Controls | Control | Description | |:---|:---| | (Dropdown) | Selects how the output matrix should be filled. The options are: