Skip to content

Commit 27795c2

Browse files
committed
adjusts doctests to new docu build system
1 parent b3728d7 commit 27795c2

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

src/algorithms/groebner-bases.jl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ At the moment the underlying algorithm is based on variants of Faugère's F4 Alg
2424
2525
# Examples
2626
```jldoctest
27+
julia> using AlgebraicSolving
28+
2729
julia> R, (x,y,z) = PolynomialRing(GF(101),["x","y","z"], ordering=:degrevlex)
2830
(Multivariate Polynomial Ring in x, y, z over Galois field with characteristic 101, Nemo.gfp_mpoly[x, y, z])
2931
@@ -76,6 +78,8 @@ At the moment the underlying algorithm is based on variants of Faugère's F4 Alg
7678
7779
# Examples
7880
```jldoctest
81+
julia> using AlgebraicSolving
82+
7983
julia> R, (x,y,z) = PolynomialRing(GF(101),["x","y","z"], ordering=:degrevlex)
8084
(Multivariate Polynomial Ring in x, y, z over Galois field with characteristic 101, Nemo.gfp_mpoly[x, y, z])
8185

src/algorithms/solvers.jl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,8 @@ is greater then zero an empty array is returned.
213213
214214
# Examples
215215
```jldoctest
216+
julia> using AlgebraicSolving
217+
216218
julia> R,(x1,x2,x3) = PolynomialRing(QQ, ["x1","x2","x3"])
217219
(Multivariate Polynomial Ring in x1, x2, x3 over Rational Field, Nemo.fmpq_mpoly[x1, x2, x3])
218220
@@ -266,6 +268,8 @@ is greater then zero an empty array is returned.
266268
267269
# Examples
268270
```jldoctest
271+
julia> using AlgebraicSolving
272+
269273
julia> R,(x1,x2,x3) = PolynomialRing(QQ, ["x1","x2","x3"])
270274
(Multivariate Polynomial Ring in x1, x2, x3 over Rational Field, Nemo.fmpq_mpoly[x1, x2, x3])
271275

src/examples/katsura.jl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ Also note that indices have been shifted to start from 1.
2222
2323
# Example
2424
```jldoctest
25+
julia> using AlgebraicSolving
26+
2527
julia> katsura(2)
2628
Nemo.fmpq_mpoly[x1 + 2*x2 + 2*x3 - 1, x1^2 + 2*x2^2 + 2*x3^2 - x1, 2*x1*x2 + 2*x2*x3 - x2]
2729
```
@@ -45,6 +47,8 @@ Returns the Katsura ideal in the given polynomial ring `R`.
4547
4648
# Example
4749
```jldoctest
50+
julia> using AlgebraicSolving
51+
4852
julia> R, _ = QQ["x", "y", "z"]
4953
(Multivariate Polynomial Ring in x, y, z over Rational Field, Nemo.fmpq_mpoly[x, y, z])
5054

0 commit comments

Comments
 (0)