practice for coding functions about operation of matrix