slasrt.f(3) LAPACK slasrt.f(3)NAME
slasrt.f -
SYNOPSIS
Functions/Subroutines
subroutine slasrt (ID, N, D, INFO)
SLASRT sorts numbers in increasing or decreasing order.
Function/Subroutine Documentation
subroutine slasrt (characterID, integerN, real, dimension( * )D, integerINFO)
SLASRT sorts numbers in increasing or decreasing order.
Purpose:
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.
Parameters:
ID
ID is CHARACTER*1
= 'I': sort D in increasing order;
= 'D': sort D in decreasing order.
N
N is INTEGER
The length of the array D.
D
D is REAL array, dimension (N)
On entry, the array to be sorted.
On exit, D has been sorted into increasing order
(D(1) <= ... <= D(N) ) or into decreasing order
(D(1) >= ... >= D(N) ), depending on ID.
INFO
INFO is INTEGER
= 0: successful exit
< 0: if INFO = -i, the i-th argument had an illegal value
Author:
Univ. of Tennessee
Univ. of California Berkeley
Univ. of Colorado Denver
NAG Ltd.
Date:
September 2012
Definition at line 89 of file slasrt.f.
Author
Generated automatically by Doxygen for LAPACK from the source code.
Version 3.4.2 Tue Sep 25 2012 slasrt.f(3)
Check Out this Related Man Page
dlasrt.f(3) LAPACK dlasrt.f(3)NAME
dlasrt.f -
SYNOPSIS
Functions/Subroutines
subroutine dlasrt (ID, N, D, INFO)
DLASRT sorts numbers in increasing or decreasing order.
Function/Subroutine Documentation
subroutine dlasrt (characterID, integerN, double precision, dimension( * )D, integerINFO)
DLASRT sorts numbers in increasing or decreasing order.
Purpose:
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.
Parameters:
ID
ID is CHARACTER*1
= 'I': sort D in increasing order;
= 'D': sort D in decreasing order.
N
N is INTEGER
The length of the array D.
D
D is DOUBLE PRECISION array, dimension (N)
On entry, the array to be sorted.
On exit, D has been sorted into increasing order
(D(1) <= ... <= D(N) ) or into decreasing order
(D(1) >= ... >= D(N) ), depending on ID.
INFO
INFO is INTEGER
= 0: successful exit
< 0: if INFO = -i, the i-th argument had an illegal value
Author:
Univ. of Tennessee
Univ. of California Berkeley
Univ. of Colorado Denver
NAG Ltd.
Date:
September 2012
Definition at line 89 of file dlasrt.f.
Author
Generated automatically by Doxygen for LAPACK from the source code.
Version 3.4.2 Tue Sep 25 2012 dlasrt.f(3)
hi,
i want to rename all the file names in order so that they can be sorted later.
For example, my filenames are like path\1, path\2...path\10, path\11.
But when I sort them, it sorts by the first number, so path\1 gets sorted with path\10.
I'm guessing the best way to do this is to rename... (5 Replies)
This is what I need to do to sort out the results from a script:
I know the first half is right, but the second half is what's getting me.
The file has 6 fields like this
word numbers numbers numbers numbers numbers
and I only care about finding numbers in the 6th field that have even... (6 Replies)
hello all, I have a file with two numbers on each line, comma separated. I want to sort the contents of the file in increasing order (smallest to largest) of the numbers on the second line. i.e:
23,3
25,2
27,12
to become
25,2
23,3
27,12
Does anyone know how I can do this?
Thanks... (2 Replies)
Hi,
I need help to sort a file contents.
I am using sort -r option to basically reverse the comparison in descending order. However, i found out that my file is not sorted according, can anyone please help.
My data is something like:-
Hello world
20.982342864 343
19.234355545 222... (5 Replies)
Hi all,
i have a command named "vmchange" and i must use it for thousands of data which must be changed.
For example,
vmchange -m N0001
vmchange -m N0002
vmchange -m N0003
...
...
vmchange -m N0100
How can i do that in awk or bash script?
Any help would be greatly appreciated..
... (5 Replies)
Discussion started by: oduth
5 Replies
6. Post Here to Contact Site Administrators and Moderators
My bits count is increasing and decreasing frequently. I haven't get infractions at present. But my bits count is getting increasing and decreasing frequently. Previously it was not like that. May know the reasons please?
Thanks in Advance. (3 Replies)
Hello,
I've done
ls -ls >fileout1
When I do the sort command for +4 it sorts it bu group. When I do +5 it sorts it by date. But it's skipping the file size column. Example:
rwxr-xr-x 1 Grueben sup 65 16 Sep 13:58 cdee
How can I sort it by file size? It doesn't... (2 Replies)
I am trying to sort the output in decreasing order of the process ID while using the ps command. I am having trouble doing this using the --sort part of ps.
Also I was wondering if anyone knows what the "S" stands for under the process's status code? (3 Replies)
Hi !
I try to create an array of a large amount of numbers in increasing order from 1 to 10,000 (or even infinity).
Is there an easier way to do that than writing:
split("1,2,3,4,5,6,7,8,9,10,11,12,13,14,..............,10000",numbers,",")
Doing something like:
split(,numbers)
Thanks ! (2 Replies)
I would like to know how to sort version numbers, using bash or perl. I would like to sort file names that are program names with version numbers and extensions, such as hello-0.2.3.tar.gz and hello-0.10.3.tar.gz.
Version numbers of computer programs do not comply with the mathematical rule... (3 Replies)
Hello all
I was wondering if someone has an idea how to sort by a specific order, let's say by a specific alphabet containing only 4 letters like (d,s,a,p) instead of (a,b,c....z) ??
Cheers! (6 Replies)
TD P { margin-bottom: 0in; }P { margin-bottom: 0.08in; }TT.cjk { font-family: "WenQuanYi Zen Hei Sharp",monospace; }A:link { } I am trying to run this program for Insertion Sort, But don't know that why I am getting following Error
#include<iostream>
int main(){
int i,j,key,n;... (4 Replies)
Hi,
i want to track a process using its PID in SOLARIS.
i have a code in C++ , which memory is increasing steeply increasing every 20 days, from the code i couldn't see any memory leak.
is there any way in UNIX where with the help of PID i can trace the Process usage evry hour.
... (3 Replies)
Hi,
I am having contents in a file like below,
cat testfile
rpool/swap
rpool/swap14
rpool/swap2
rpool/swap3
I want to sort the above contents like,
rpool/swap
rpool/swap2
rpool/swap3
rpool/swap14
I have tried in this way, (7 Replies)