# How to compute matrices in Einstein notation:

I would like to compute $$r_{ii’}=\sum_{kk’}A_{ii’}^{kk’}r_{kk’}$$ where all indices vary from 0 to 1 to yield a vector / matrix.