3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-29 20:05:51 +00:00

Add non naive sign determination algorithm

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
Leonardo de Moura 2013-01-09 22:35:39 -08:00
parent 1712f0a33b
commit d644b37ac1
3 changed files with 708 additions and 42 deletions

View file

@ -105,8 +105,11 @@ public:
\remark If there is an option between rows i and j,
this method will give preference to the row that occurs first.
\remark The vector r must have at least A.n() capacity
The numer of linear independent rows is returned.
*/
void linear_independent_rows(mpz_matrix const & A, unsigned_vector & r);
unsigned linear_independent_rows(mpz_matrix const & A, unsigned * r);
// method for debugging purposes
void display(std::ostream & out, mpz_matrix const & A, unsigned cell_width=4) const;