NAME

blas_isortv - sorts a real vector X in increasing or decreasing order using quick sort algorithm and overwrite P with the permutation vector


SYNOPSIS

  SUBROUTINE BLAS_ISORTV( SORT, N, X, INCX, P, INCP)
  INTEGER SORT, N, INCX, INCP
  INTEGER X(*), P(*)
  SUBROUTINE BLAS_ISORTV_64( SORT, N, X, INCX, P, INCP)
  INTEGER*8 SORT, N, INCX, INCP
  INTEGER*8 X(*), P(*)

F95 INTERFACE

  SUBROUTINE SORTV( [SORT], [N], X, [INCX], P, [INCP])
  INTEGER :: SORT, N, INCX, INCP
  INTEGER, DIMENSION(:) :: X, P
  SUBROUTINE SORTV_64( [SORT], [N], X, [INCX], P, [INCP])
  INTEGER(8) :: SORT, N, INCX, INCP
  INTEGER(8), DIMENSION(:) :: X, P

C INTERFACE

#include <sunperf.h>

void blas_isortv(int sort, int n, int *x, int incx, int *p, int incp);

void blas_isortv_64(long sort, long n, long *x, long incx, long *p, long incp);


ARGUMENTS


SEE ALSO

blas_isort(3P), blas_ipermute(3P)