Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion docs/src/polynomial.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,13 @@ the usual ways of constructing an element of a ring.
(R::PolyRing)(c::elem_type(R))
(R::PolyRing{T})(a::T) where T <: RingElement
```
The third constructor above cannot be used to coerce a polynomial from one ring
to another; instead use a call like `map_coefficients(identity, f; parent=dest_ring))`,
or alternatively, for _small polynomials_ one can simply use evaluation:
namely, `f(y)` where `y` is the generator of the destination polynomial ring.
The fourth constructor creates a constant polynomial from an element of the coefficient ring.

For polynommials there is also the following more general constructor accepting
For polynomials there is also the following more general constructor accepting
an array of coefficients.

```julia
Expand Down