dlasrt man page on OpenIndiana

Man page or keyword search:  
man Server   20441 pages
apropos Keyword Search (all sections)
Output format
OpenIndiana logo
[printable version]

dlasrt(3P)		    Sun Performance Library		    dlasrt(3P)

NAME
       dlasrt  -  the  numbers	in  D  in increasing order (if ID = 'I') or in
       decreasing order (if ID = 'D' )

SYNOPSIS
       SUBROUTINE DLASRT(ID, N, D, INFO)

       CHARACTER * 1 ID
       INTEGER N, INFO
       DOUBLE PRECISION D(*)

       SUBROUTINE DLASRT_64(ID, N, D, INFO)

       CHARACTER * 1 ID
       INTEGER*8 N, INFO
       DOUBLE PRECISION D(*)

   F95 INTERFACE
       SUBROUTINE LASRT(ID, [N], D, [INFO])

       CHARACTER(LEN=1) :: ID
       INTEGER :: N, INFO
       REAL(8), DIMENSION(:) :: D

       SUBROUTINE LASRT_64(ID, [N], D, [INFO])

       CHARACTER(LEN=1) :: ID
       INTEGER(8) :: N, INFO
       REAL(8), DIMENSION(:) :: D

   C INTERFACE
       #include <sunperf.h>

       void dlasrt(char id, int n, double *d, int *info);

       void dlasrt_64(char id, long n, double *d, long *info);

PURPOSE
       dlasrt 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.

ARGUMENTS
       ID (input)
		 = 'I': sort D in increasing order;
		 = 'D': sort D in decreasing order.

       N (input) The length of the array D.

       D (input/output)
		 On entry, the array to be sorted.  On exit, D has been sorted
		 into increasing order (D(1) <= ... <= D(N) ) or into decreas‐
		 ing order (D(1) >= ... >= D(N) ), depending on ID.

       INFO (output)
		 = 0:  successful exit
		 < 0:  if INFO = -i, the i-th argument had an illegal value

				  6 Mar 2009			    dlasrt(3P)
[top]

List of man pages available for OpenIndiana

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net