2#include <symengine/matrices/matrix_expr.h>
3#include <symengine/matrices/transpose.h>
53 void bvisit(
const Basic &x){};
78 auto values = x.get_values();
81 for (
size_t i = 0; i < x.nrows(); i++)
82 for (
size_t j = 0;
j < x.ncols();
j++)
83 t[
j * x.ncols() + i] = x.get(i,
j);
91 transpose_ = x.get_arg();
97 for (
auto &
e : x.get_terms()) {
107 for (
auto &
e : x.get_factors()) {
The base class for SymEngine.
The lowest unit of symbolic representation.
RCP< T > rcp_from_this()
Get RCP<T> pointer to self (it will cast the pointer to T)
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.
void hash_combine(hash_t &seed, const T &v)