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
Copy file name to clipboardExpand all lines: README.md
+3-3
Original file line number
Diff line number
Diff line change
@@ -31,14 +31,14 @@ To perform one-dimensional quadrature, we can simply construct an `IntegralProbl
31
31
into the problem as the fourth argument of `IntegralProblem`.
32
32
33
33
```julia
34
-
using Integrals
35
-
f(x, p) =sin(x*p)
34
+
using Integrals
35
+
f(x, p) =sin(x*p)
36
36
p =1.7
37
37
prob =IntegralProblem(f, -2, 5, p)
38
38
sol =solve(prob, QuadGKJL())
39
39
```
40
40
41
-
For basic multidimensional quadrature we can construct and solve a `IntegralProblem`. Since we are using no arguments `p` in this example, we omit the fourth argument of `IntegralProblem`
41
+
For basic multidimensional quadrature we can construct and solve a `IntegralProblem`. Since we are using no arguments `p` in this example, we omit the fourth argument of `IntegralProblem`
42
42
from above. The lower and upper bounds are now passed as vectors, with the `i`th elements of
43
43
the bounds giving the interval of integration for `x[i]`.
0 commit comments