Skip to content
Snippets Groups Projects
Commit 06da8275 authored by Mohab Safey El Din's avatar Mohab Safey El Din
Browse files

Oscar section

parent a0645edd
Branches
Tags
No related merge requests found
......@@ -143,6 +143,16 @@ tutorial [here](https://msolve.lip6.fr/downloads/msolve-tutorial.pdf)).
You can have a look at [this](https://github.com/oscar-system/Oscar.jl/blob/master/src/Rings/msolve/msolve.jl) and the documentation of [Oscar](https://oscar-system.github.io/Oscar.jl).
Here is how you can use it.
```jldoctest
julia> R,(x1,x2,x3) = PolynomialRing(QQ, ["x1","x2","x3"])
(Multivariate Polynomial Ring in x1, x2, x3 over Rational Field, fmpq_mpoly[x1, x2, x3])
julia> I = ideal(R, [x1+2*x2+2*x3-1, x1^2+2*x2^2+2*x3^2-x1, 2*x1*x2+2*x2*x3-x2])
ideal(x1 + 2*x2 + 2*x3 - 1, x1^2 - x1 + 2*x2^2 + 2*x3^2, 2*x1*x2 + 2*x2*x3 - x2)
julia> msolve(I)
((84*x^4 - 40*x^3 + x^2 + x, 336*x^3 - 120*x^2 + 2*x + 1, PolyElem[-184*x^3 + 80*x^2 - 4*x - 1, -36*x^3 + 18*x^2 - 2*x], fmpz[-1, -1]), Vector{fmpq}[[744483363399261433351//1180591620717411303424, 372241681699630716673//1180591620717411303424, -154187553040555781639//1180591620717411303424], [1, 0, 0], [71793683196126133110381699745//316912650057057350374175801344, 71793683196126133110381699745//633825300114114700748351602688, 173325283664805084153412401855//633825300114114700748351602688], [196765270119568550571//590295810358705651712, 1//590295810358705651712, 196765270119568550571//590295810358705651712]])
```
# Citing msolve
If you have used `msolve` in the preparation of some paper, we are grateful that you
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment