# A generalized inner and outer product of arbitrary multi-dimensional arrays using A Mathematics of Arrays MoA - Computer Science > Mathematical Software

Abstract: An algorithm has been devised to compute the inner and outer product betweentwo arbitrary multi-dimensional arrays A and B in a single piece of code. Itwas derived using A Mathematics of Arrays MoA and the $\psi$-calculus.Extensive tests of the new algorithm are presented for running in sequential aswell as OpenMP multiple processor modes.

Author: James E. Raynolds, Lenore M. Mullin

Source: https://arxiv.org/