You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Integrate the polynomial `p` term by term, optionally adding constant term `k`. The order of the resulting polynomial is one higher than the order of `p`.
96
+
97
+
Integrate the polynomial `p` term by term, optionally adding constant
98
+
term `k`. The order of the resulting polynomial is one higher than the
99
+
order of `p`.
100
+
84
101
```julia
85
102
julia>polyint(Poly([1, 0, -1]))
86
103
Poly(x -0.3333333333333333x^3)
@@ -90,14 +107,20 @@ Poly(2.0 + x - 0.3333333333333333x^3)
90
107
```
91
108
92
109
#### polyder(p::Poly)
93
-
Differentiate the polynomial `p` term by term. The order of the resulting polynomial is one lower than the order of `p`.
110
+
111
+
Differentiate the polynomial `p` term by term. The order of the
112
+
resulting polynomial is one lower than the order of `p`.
113
+
94
114
```julia
95
115
julia>polyder(Poly([1, 3, -1]))
96
116
Poly(3-2x)
97
117
```
98
118
99
119
#### roots(p::Poly)
100
-
Return the roots (zeros) of `p`, with multiplicity. The number of roots returned is equal to the order of `p`. The returned roots may be real or complex.
120
+
121
+
Return the roots (zeros) of `p`, with multiplicity. The number of
122
+
roots returned is equal to the order of `p`. The returned roots may be
0 commit comments