∑ i = 1 p ∑ j = 1 q ∑ k = 1 r a i j b j k c k i