]> www.ginac.de Git - ginac.git/blobdiff - ginac/matrix.cpp
the destructor, copy constructor, and assignment operator (which were the
[ginac.git] / ginac / matrix.cpp
index ec7ee2c8e004415bd04eb4e8df44acc9d3fa7294..0b87ed5d3ba843511e144bc3c316bd99dd0a4d50 100644 (file)
@@ -54,28 +54,6 @@ matrix::matrix() : inherited(TINFO_matrix), row(1), col(1)
        m.push_back(_ex0());
 }
 
-matrix::~matrix()
-{
-       debugmsg("matrix destructor",LOGLEVEL_DESTRUCT);
-       destroy(false);
-}
-
-matrix::matrix(const matrix & other)
-{
-       debugmsg("matrix copy constructor",LOGLEVEL_CONSTRUCT);
-       copy(other);
-}
-
-const matrix & matrix::operator=(const matrix & other)
-{
-       debugmsg("matrix operator=",LOGLEVEL_ASSIGNMENT);
-       if (this != &other) {
-               destroy(true);
-               copy(other);
-       }
-       return *this;
-}
-
 // protected
 
 void matrix::copy(const matrix & other)