stub for generic outer product algorithm