Skip to content

Commit 770671d

Browse files
committed
typos
1 parent 0b385e7 commit 770671d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/stdlib_experimental_quadrature.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ end program
8282

8383
Returns the Simpson's rule integral of an array `y` representing discrete samples of a function. The integral is computed assuming either equidistant abscissas with spacing `dx` or arbitary abscissas `x`.
8484

85-
Simpson's rule is defined for odd-length arrays only. For even-length arrays, an optional argument `even` may be used to specify at which index to replace Simpson's rule with Simpson's 3/8 rule. The 3/8 rule will be used for the array section `u(even:even+4)` and the ordinary Simpon's rule will be used elsewhere.
85+
Simpson's rule is defined for odd-length arrays only. For even-length arrays, an optional argument `even` may be used to specify at which index to replace Simpson's rule with Simpson's 3/8 rule. The 3/8 rule will be used for the array section `y(even:even+4)` and the ordinary Simpon's rule will be used elsewhere.
8686

8787
### Syntax
8888

@@ -108,8 +108,6 @@ If the size of `y` is zero or one, the result is zero.
108108

109109
If the size of `y` is two, the result is the same as if `trapz` had been called instead, regardless of the value of `even`.
110110

111-
If the size of `y` is even, the result
112-
113111
### Example
114112

115113
TBD

0 commit comments

Comments
 (0)