4#include <symengine/matrices/matrix_expr.h>
5#include <symengine/matrices/identity_matrix.h>
12 return n_->__hash__();
33bool IdentityMatrix::is_canonical(
const RCP<const Basic> &n)
const
53 "Dimension of IdentityMatrix must be nonnegative");
57 "Dimension of IdentityMatrix must be a nonnegative integer");
The base class for SymEngine.
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.
bool is_a_Number(const Basic &b)
void hash_combine(hash_t &seed, const T &v)