# Multiply proc (matrix)

Source: https://ref.dm-lang.org/matrix/proc/Multiply

### Format
- `Multiply(Matrix2)  
*or*`
- `Multiply(n)`


### Args
- `Matrix2`: another matrix
- `n`: a number


### Returns
> src

This multiplies the current matrix by Matrix2 or n. If the n format is used, this is just like scaling the whole matrix. If another matrix is multiplied, then it is like doing the two transformations in order: src, then Matrix2.

Multiplication of one matrix by another depends on the order. You may get a different result multiplying A \* B vs. B \* A.

### See also
- [matrix](https://ref.dm-lang.org/matrix/index.md)
- [matrix operators](https://ref.dm-lang.org/matrix/operators.md)
- [matrix procs](https://ref.dm-lang.org/matrix/proc/index.md)
- [\*= operator](https://ref.dm-lang.org/operator/asterisk/index.md)
