1 #ifndef SYMENGINE_MATRICES_TRACE_H
2 #define SYMENGINE_MATRICES_TRACE_H
5 #include <symengine/matrices/matrix_expr.h>
13 RCP<const Basic> arg_;
16 Trace(
const RCP<const MatrixExpr> &arg) : arg_(arg)
18 SYMENGINE_ASSIGN_TYPEID();
28 RCP<const Basic> trace(
const RCP<const MatrixExpr> &arg);
The base class for SymEngine.
#define IMPLEMENT_TYPEID(SYMENGINE_ID)
Inline members and functions.
The lowest unit of symbolic representation.
hash_t __hash__() const override
bool __eq__(const Basic &o) const override
Test equality.
int compare(const Basic &o) const override
vec_basic get_args() const override
Returns the list of arguments.
Main namespace for SymEngine package.