arange Interface

public interface arange

Module Procedures

public function arangeRealVector(size1, stop_val, step) result(vector)

Arguments

Type IntentOptional Attributes Name
integer(kind=int32), intent(in) :: size1
integer(kind=int32), intent(in), optional :: stop_val
integer(kind=int32), intent(in), optional :: step

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

public function arangeIntVector(start_val, stop_val, step, dtype) result(vec)

Arguments

Type IntentOptional Attributes Name
integer(kind=int32), intent(in) :: start_val
integer(kind=int32), intent(in) :: stop_val
integer(kind=int32), intent(in) :: step
integer(kind=int32), intent(in) :: dtype

Return Value integer(kind=int32), allocatable, (:)