Skip to content

Commit 65f9956

Browse files
Remove PolyRing(::Ring) from docs (#1727)
Co-authored-by: Johannes Schmitt <jschmitt@posteo.eu>
1 parent 25d3815 commit 65f9956

File tree

1 file changed

+2
-15
lines changed

1 file changed

+2
-15
lines changed

docs/src/polynomial.md

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -59,19 +59,6 @@ the constructor as follows.
5959
R[:x]
6060
```
6161

62-
It is also possible to create a polynomial ring with default symbol as follows.
63-
This is a lightweight constructor and should be used in generic algorithms
64-
wherever possible when creating polynomial rings where the symbol does not
65-
matter.
66-
67-
```julia
68-
PolyRing(R::Ring)
69-
```
70-
71-
Given a base ring `R` return the polynomial ring $S = R[x]$. Note that unlike
72-
the constructors above, the return type is not a tuple. Only the ring is
73-
returned and not the generator. The polynomial ring is not cached.
74-
7562
Here are some examples of creating polynomial rings and their associated
7663
generators.
7764

@@ -81,8 +68,8 @@ generators.
8168
julia> T, z = QQ["z"]
8269
(Univariate polynomial ring in z over rationals, z)
8370
84-
julia> U = PolyRing(ZZ)
85-
Univariate polynomial ring in x over integers
71+
julia> U, x = polynomial_ring(ZZ)
72+
(Univariate polynomial ring in x over integers, x)
8673
```
8774

8875
All of the examples here are generic polynomial rings, but specialised implementations

0 commit comments

Comments
 (0)