Skip to content

Commit 8b6dcb7

Browse files
committed
minor wording changes
1 parent 770671d commit 8b6dcb7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/stdlib_experimental_quadrature.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ program demo_trapz
4444
end program
4545
```
4646

47-
## `trapz_weights` - compute trapezoidal rule weights for given abscissas
47+
## `trapz_weights` - trapezoidal rule weights for given abscissas
4848

4949
Given an array of abscissas `x`, computes the array of weights `w` such that if `y` represented function values tabulated at `x`, then `sum(w*y)` produces a trapezoidal rule approximation to the integral.
5050

@@ -54,13 +54,13 @@ Given an array of abscissas `x`, computes the array of weights `w` such that if
5454

5555
### Arguments
5656

57-
`x`: Shall be an array of type `real`.
57+
`x`: Shall be a rank-one array of type `real`.
5858

5959
### Return value
6060

6161
The result is a `real` array with the same size and kind as `x`.
6262

63-
If the size of `x` is one, then the only element of the result is zero.
63+
If the size of `x` is one, then the sole element of the result is zero.
6464

6565
### Example
6666

0 commit comments

Comments
 (0)