| 219 | static inline bool isInv(const MatExpr& e) { return e.op == &g_MatOp_Invert; } |
| 220 | static inline bool isSolve(const MatExpr& e) { return e.op == &g_MatOp_Solve; } |
| 221 | static inline bool isGEMM(const MatExpr& e) { return e.op == &g_MatOp_GEMM; } |
| 222 | static inline bool isMatProd(const MatExpr& e) { return e.op == &g_MatOp_GEMM && (!e.c.data || e.beta == 0); } |
| 223 | static inline bool isInitializer(const MatExpr& e) { return e.op == getGlobalMatOpInitializer(); } |
| 224 |