Consider a 1x2 matrix `A`

and a 1d array of 2x2 matrices `B`

:

```
A = [1 2]
B = [rand(2,2) for _ in 1:3]
```

Obviously, `B[1]`

is a 2x2 matrix, `B[2]`

and `B[3]`

as well.

Now, I would like to get an array of matrix products `[A*B[1], A*B[2], ... A*B[end]]`

. How can I get it? I am trying the dot in

```
julia> R = A.*B
3×2 Array{Array{Float64,2},2}:
[0.460514 0.415326; 0.0842543 0.33096] [0.921028 0.830652; 0.168509 0.66192]
[0.908421 0.342417; 0.103733 0.155627] [1.81684 0.684833; 0.207466 0.311255]
[0.828274 0.451481; 0.053429 0.810234] [1.65655 0.902963; 0.106858 1.62047]
```

but obviously it is not the expected result

```
julia> R[1]
2×2 Array{Float64,2}:
0.460514 0.415326
0.0842543 0.33096
```

Instead, `R[1]`

(and for other indices as well) is expected to be a 1x2 matrix.