* Interface to symbolic matrices */
/*
- * GiNaC Copyright (C) 1999-2003 Johannes Gutenberg University Mainz, Germany
+ * GiNaC Copyright (C) 1999-2004 Johannes Gutenberg University Mainz, Germany
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
ex add_indexed(const ex & self, const ex & other) const;
ex scalar_mul_indexed(const ex & self, const numeric & other) const;
bool contract_with(exvector::iterator self, exvector::iterator other, exvector & v) const;
+ ex conjugate() const;
protected:
bool match_same_type(const basic & other) const;
matrix inverse() const;
matrix solve(const matrix & vars, const matrix & rhs,
unsigned algo = solve_algo::automatic) const;
+ unsigned rank() const;
protected:
ex determinant_minor() const;
int gauss_elimination(const bool det = false);
inline matrix inverse(const matrix & m)
{ return m.inverse(); }
+inline unsigned rank(const matrix & m)
+{ return m.rank(); }
+
// utility functions
/** Specialization of is_exactly_a<matrix>(obj) for matrix objects. */