Previous Up Next

5.49.3  Multiplication of two matrices: * &*

The infixed operator * (or &*) is used for the multiplication of two matrices.
Input:

[[1,2],[3,4]] * [[5,6],[7,8]]

or:

[[1,2],[3,4]] &* [[5,6],[7,8]]

Output:

[[19,22],[43,50]]

Previous Up Next