How would one carry out a matrix-matrix multiplication (and matrix-vector multiplication)? For example, if I want to multiply two 2x2 matrices together:
[[1,2], [3,4]] and [[5,6],[7,8]]
Is there a GDScript function which can be called on these arrays to perform a matrix multiplication (and btw [[1,2], [3,4]] * [[5,6],[7,8]] doesn't work)?
The way of achieving this in numpy would be using @ , i.e.:
[[1,2], [3,4]]@[[5,6],[7,8]] (gives [[19,22],[43,50]])
Is there an equivalent operator in GDScript?
Thanks in advance.