Skip to content

Commit 6ffb392

Browse files
committed
switch integral -> integrate
1 parent 041fd67 commit 6ffb392

File tree

11 files changed

+125
-164
lines changed

11 files changed

+125
-164
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,10 +100,10 @@ term `k`. The order of the resulting polynomial is one higher than the
100100
order of `p`.
101101

102102
```julia-repl
103-
julia> integral(Polynomial([1, 0, -1]))
103+
julia> integrate(Polynomial([1, 0, -1]))
104104
Polynomial(x - 0.3333333333333333x^3)
105105
106-
julia> integral(Polynomial([1, 0, -1]), 2)
106+
julia> integrate(Polynomial([1, 0, -1]), 2)
107107
Polynomial(2.0 + x - 0.3333333333333333x^3)
108108
```
109109

docs/src/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,14 +104,14 @@ ERROR: Polynomials must have same variable
104104
### Integrals and Derivatives
105105

106106
Integrate the polynomial `p` term by term, optionally adding constant
107-
term `k`. The order of the resulting polynomial is one higher than the
107+
term `C`. The order of the resulting polynomial is one higher than the
108108
order of `p`.
109109

110110
```jldoctest
111-
julia> integral(Polynomial([1, 0, -1]))
111+
julia> integrate(Polynomial([1, 0, -1]))
112112
Polynomial(1.0*x - 0.3333333333333333*x^3)
113113
114-
julia> integral(Polynomial([1, 0, -1]), 2)
114+
julia> integrate(Polynomial([1, 0, -1]), 2)
115115
Polynomial(2.0 + 1.0*x - 0.3333333333333333*x^3)
116116
```
117117

docs/src/reference.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ variable
6868
fromroots
6969
roots
7070
derivative
71-
integral
7271
integrate
7372
fit
7473
companion

0 commit comments

Comments
 (0)