reduced set of math functions for matrix operations