1 #ifndef SYMENGINE_MATRICES_MATRIX_ADD_H
2 #define SYMENGINE_MATRICES_MATRIX_ADD_H
5 #include <symengine/matrices/matrix_expr.h>
6 #include <symengine/matrices/size.h>
19 SYMENGINE_ASSIGN_TYPEID();
20 SYMENGINE_ASSERT(is_canonical(terms));
27 bool is_canonical(
const vec_basic &terms)
const;
38 RCP<const MatrixExpr> matrix_add(
const vec_basic &terms);
The base class for SymEngine.
#define IMPLEMENT_TYPEID(SYMENGINE_ID)
Inline members and functions.
The lowest unit of symbolic representation.
vec_basic get_args() const override
Returns the list of arguments.
bool __eq__(const Basic &o) const override
Test equality.
int compare(const Basic &o) const override
hash_t __hash__() const override
Main namespace for SymEngine package.