Create an array of N linearly spaced values (not intervals)
from a to b.
Similar to numpy.linspace(a, b, N)
.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=dp), | intent(in) | :: | a | Lower endpoint. |
||
real(kind=dp), | intent(in) | :: | b | Upper endpoint. |
||
integer, | intent(in) | :: | N | Number of values (not intervals). |
Array of linearly spaced values.