linspace Interface

public interface linspace

Public interface for routines that initialize arrays.


Contents


Module Procedures

public pure subroutine linspace_array_re(array, first, last)

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

Arguments

Type IntentOptional AttributesName
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