X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=ginac%2Fmatrix.h;h=4a267885a8ef0bc85721661328e2ace1deb257ee;hp=0e7660b969fcc28d0d905725ac99bf55fad4162a;hb=f1637dceefe0fbf79308958f8bc28dedd38aab85;hpb=71e787d41185b5def2c4dde6809c8420843fca9f diff --git a/ginac/matrix.h b/ginac/matrix.h index 0e7660b9..4a267885 100644 --- a/ginac/matrix.h +++ b/ginac/matrix.h @@ -49,6 +49,7 @@ public: ex expand(unsigned options=0) const; ex eval(int level=0) const; ex evalf(int level=0) const; + ex evalm(void) const {return *this;} ex subs(const lst & ls, const lst & lr, bool no_pattern = false) const; ex eval_indexed(const basic & i) const; ex add_indexed(const ex & self, const ex & other) const; @@ -69,6 +70,8 @@ public: matrix sub(const matrix & other) const; matrix mul(const matrix & other) const; matrix mul(const numeric & other) const; + matrix mul_scalar(const ex & other) const; + matrix pow(const ex & expn) const; const ex & operator() (unsigned ro, unsigned co) const; matrix & set(unsigned ro, unsigned co, ex value); matrix transpose(void) const;