logspace Function

public pure function logspace(start, finish, npts) result(x)

Construcst a logarithmically spaced array.

Arguments

Type IntentOptional Attributes Name
real(kind=real64), intent(in) :: start

The exponent of the first value in the array.

real(kind=real64), intent(in) :: finish

The exponent of the final value in the array.

integer(kind=int32), intent(in) :: npts

The number of values in the array.

Return Value real(kind=real64), allocatable, dimension(:)

The resulting array.


Contents