Skip to content

Commit 66341b4

Browse files
committed
Clarify wording of specs
1 parent 4799aae commit 66341b4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/stdlib_math.fypp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ module stdlib_math
3030
!!
3131
!! Create rank 1 array of linearly spaced elements
3232
!! If the number of elements is not specified, create an array with size 100. If n is a negative value,
33-
!! return an array with size 0. If n = 1, return end
33+
!! return an array with size 0. If n = 1, return an array whose only element is end
3434
!!([Specification](../page/specs/stdlib_math.html#description))
3535
#:for k1, t1 in RC_KINDS_TYPES
3636
#:set RName = rname("linspace_default", 1, t1, k1)
@@ -59,7 +59,7 @@ module stdlib_math
5959
!!
6060
!! Create rank 1 array of linearly spaced elements from start to end.
6161
!! If the number of elements is not specified, create an array with size 100. If n is a negative value,
62-
!! return an array with size 0. If n = 1, return end. When dealing with integers as the `start` and `end`
62+
!! return an array with size 0. If n = 1, return a rank 1 array whose only element is end. When dealing with integers as the `start` and `end`
6363
!! parameters, the return type is always a double precision real.
6464
!!
6565
!!([Specification](../page/specs/stdlib_math.html#linspace))
@@ -93,8 +93,8 @@ module stdlib_math
9393
!!
9494
!! Create rank 1 array of logarithmically spaced elements from base**start to base**end.
9595
!! If the number of elements is not specified, create an array with size 50. If n is a negative value,
96-
!! return an array with size 0. If n = 1, return base**end. If no base is specified, logspace will default to using a base of
97-
!! 10
96+
!! return an array with size 0. If n = 1, return an array whose only element is base**end. If no base
97+
!! is specified, logspace will default to using a base of 10
9898
!!
9999
!!([Specification](../page/specs/stdlib_math.html#logspace))
100100
#!=========================================================

0 commit comments

Comments
 (0)