1 #ifndef SYMENGINE_MATRICES_IDENTITY_MATRIX_H
2 #define SYMENGINE_MATRICES_IDENTITY_MATRIX_H
5 #include <symengine/matrices/matrix_expr.h>
18 SYMENGINE_ASSIGN_TYPEID();
19 SYMENGINE_ASSERT(is_canonical(n));
27 bool is_canonical(
const RCP<const Basic> &n)
const;
29 inline const RCP<const Basic> &size()
const
35 RCP<const MatrixExpr> identity_matrix(
const RCP<const Basic> &n);
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
int compare(const Basic &o) const override
vec_basic get_args() const override
Returns the list of arguments.
bool __eq__(const Basic &o) const override
Test equality.
Main namespace for SymEngine package.