A is a list of 8 matrices dimension 2x2, so length of A=8. How can I multiply each matrix in A with a matrix B dimension 2x2 to get a new list of 8 matrices dim2x2? A and B are already defined.
I know "lapply" may help, but I'm still stuck. Thanks for your help!