hasOp template
Matrix part with linear math