In this example, why are taking transpose and then multipling

A is a 2x2 matrix and B is a 2x2 matrix,

We can multiply directly without taking a transpose (Z = A.W).

Whats the need here to take a transpose?

In this example, why are taking transpose and then multipling

A is a 2x2 matrix and B is a 2x2 matrix,

We can multiply directly without taking a transpose (Z = A.W).

Whats the need here to take a transpose?

It’s because of the orientation of the data in the A matrix.

This example shouldn’t use square matrices, because it’s confusing.

But even after taking transpose, its remains as a square matrix only (2x2)

As I said, the examples would be more useful if they didn’t use square matrices.