mirror of
https://github.com/Z3Prover/z3
synced 2025-04-28 19:35:50 +00:00
port Grobner
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
parent
3e0cf4b96d
commit
f5c8ead995
6 changed files with 18 additions and 8 deletions
|
@ -25,12 +25,13 @@ class column_namer {
|
|||
public:
|
||||
virtual std::string get_variable_name(unsigned j) const = 0;
|
||||
template <typename T>
|
||||
void print_row(const row_strip<T> & row, std::ostream & out) const {
|
||||
std::ostream & print_row(const row_strip<T> & row, std::ostream & out) const {
|
||||
vector<std::pair<T, unsigned>> coeff;
|
||||
for (auto & p : row) {
|
||||
coeff.push_back(std::make_pair(p.coeff(), p.var()));
|
||||
}
|
||||
print_linear_combination_of_column_indices(coeff, out);
|
||||
return out;
|
||||
}
|
||||
|
||||
template <typename T>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue