mirror of
https://github.com/Z3Prover/z3
synced 2026-06-02 07:07:52 +00:00
restore a deleted function
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
parent
6595c72f30
commit
881ec43256
1 changed files with 7 additions and 0 deletions
|
|
@ -1398,6 +1398,13 @@ inline polynomial_ref resultant(polynomial_ref const & p, polynomial_ref const &
|
||||||
return polynomial_ref(r);
|
return polynomial_ref(r);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
inline polynomial_ref discriminant(polynomial_ref const & p, unsigned x) {
|
||||||
|
polynomial::manager & m = p.m();
|
||||||
|
polynomial_ref r(m);
|
||||||
|
m.discriminant(p, x, r);
|
||||||
|
return polynomial_ref(r);
|
||||||
|
}
|
||||||
|
|
||||||
inline bool is_pos(polynomial_ref const & p) {
|
inline bool is_pos(polynomial_ref const & p) {
|
||||||
return p.m().is_pos(p);
|
return p.m().is_pos(p);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue