linspace Interface

public interface linspace

Public interface for routines that initialize arrays.


Module Procedures

public pure subroutine linspace_array_re(array, first, last)

Populates an array with elements from first to last, inclusive.

Arguments

Type IntentOptional Attributes Name
real(kind=wp), intent(out), dimension(:) :: array

Output array to populate

real(kind=wp), intent(in) :: first

Value of first element

real(kind=wp), intent(in) :: last

Value of last element