linspace Interface

public interface linspace

Contents


Module Procedures

private function linspace_sp(start_val, end_val, n_opt) result(vec)

Arguments

Type IntentOptional Attributes Name
real(kind=sp), intent(in) :: start_val
real(kind=sp), intent(in) :: end_val
integer, intent(in), optional :: n_opt

Return Value real(kind=sp), allocatable, (:)

private function linspace_dp(start_val, end_val, n_opt) result(vec)

Arguments

Type IntentOptional Attributes Name
real(kind=dp), intent(in) :: start_val
real(kind=dp), intent(in) :: end_val
integer, intent(in), optional :: n_opt

Return Value real(kind=dp), allocatable, (:)