lasrt Interface

public interface lasrt

Sort the numbers in D in increasing order (if ID = 'I') or in decreasing order (if ID = 'D' ). Use Quick Sort, reverting to Insertion sort on arrays of size <= 20. Dimension of STACK limits N to about 2**32.


Subroutines

public pure subroutine dlasrt(id, n, d, info)

Arguments

Type IntentOptional Attributes Name
character(len=1), intent(in) :: id
integer(kind=ilp), intent(in) :: n
real(kind=dp), intent(inout) :: d(*)
integer(kind=ilp), intent(out) :: info

public pure subroutine slasrt(id, n, d, info)

Arguments

Type IntentOptional Attributes Name
character(len=1), intent(in) :: id
integer(kind=ilp), intent(in) :: n
real(kind=sp), intent(inout) :: d(*)
integer(kind=ilp), intent(out) :: info

Module Procedures

public interface stdlib_dlasrt()

Arguments

None

public interface stdlib_slasrt()

Arguments

None