Evaluating numerical algorithm
A matrix calculator that shows its working. Add or subtract matrices of the same size; multiply when the columns of A match the rows of B. Each entry of a product is row i of A times column j of B.
Find for and .
A is 2×2 and B is 2×2: the inner numbers match (2 = 2), so AB exists and is 2×2.
Try B × A in the calculator: the answer is different, because matrix multiplication depends on the order.