matrix_expr.h
1 #ifndef SYMENGINE_MATRICES_MATRIXEXPR_H
2 #define SYMENGINE_MATRICES_MATRIXEXPR_H
3 
4 namespace SymEngine
5 {
6 
7 class MatrixExpr : public Basic
8 {
9 };
10 
11 inline bool is_a_MatrixExpr(const Basic &b)
12 {
13  return (b.get_type_code() >= SYMENGINE_IDENTITYMATRIX
14  && b.get_type_code() <= SYMENGINE_TRANSPOSE);
15 }
16 
17 } // namespace SymEngine
18 
19 #endif
The lowest unit of symbolic representation.
Definition: basic.h:97
Main namespace for SymEngine package.
Definition: add.cpp:19