Skip to content

Commit

Permalink
fixes types documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
ederc committed Nov 24, 2023
1 parent ad87504 commit c797b47
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/src/types.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ We use [Nemo](https://www.nemocas.org/index.html)'s multivariate polynomial
ring structures:

```@repl
using AlgebraicSolving
R, (x,y,z) = polynomial_ring(QQ, ["x", "y", "z"], ordering=:degrevlex)
```
The above example defines a multivariate polynomial ring in three variables `x`,
Expand All @@ -34,6 +35,7 @@ for printing polynomials in the following. One can also define polynomial rings
over finite fields:

```@repl
using AlgebraicSolving
R, (x,y,z) = polynomial_ring(GF(101), ["x", "y", "z"], ordering=:degrevlex)
```

Expand All @@ -44,6 +46,7 @@ data structures connected to ideals in order to make computational algebra more
effective:

```@repl
using AlgebraicSolving
R, (x,y,z) = polynomial_ring(QQ, ["x", "y", "z"], ordering=:degrevlex)
I = Ideal([x+y+1, y*z^2-13*y^2])
```
Expand Down

0 comments on commit c797b47

Please sign in to comment.