org.netlib.arpack
Class Ssortr

java.lang.Object
  extended by org.netlib.arpack.Ssortr

public class Ssortr
extends java.lang.Object

Following is the description from the original
Fortran source.  For each array argument, the Java
version will include an integer offset parameter, so
the arguments may not match the description exactly.
Contact seymour@cs.utk.edu with any questions.

*----------------------------------------------------------------------- \BeginDoc \Name: ssortr \Description: Sort the array X1 in the order specified by WHICH and optionally applies the permutation to the array X2. \Usage: call ssortr ( WHICH, APPLY, N, X1, X2 ) \Arguments WHICH Character*2. (Input) 'LM' -> X1 is sorted into increasing order of magnitude. 'SM' -> X1 is sorted into decreasing order of magnitude. 'LA' -> X1 is sorted into increasing order of algebraic. 'SA' -> X1 is sorted into decreasing order of algebraic. APPLY Logical. (Input) APPLY = .TRUE. -> apply the sorted order to X2. APPLY = .FALSE. -> do not apply the sorted order to X2. N Integer. (INPUT) Size of the arrays. X1 Real array of length N. (INPUT/OUTPUT) The array to be sorted. X2 Real array of length N. (INPUT/OUTPUT) Only referenced if APPLY = .TRUE. \EndDoc ----------------------------------------------------------------------- \BeginLib \Author Danny Sorensen Phuong Vu Richard Lehoucq CRPC / Rice University Dept. of Computational & Houston, Texas Applied Mathematics Rice University Houston, Texas \Revision history: 12/16/93: Version ' 2.1'. Adapted from the sort routine in LANSO. \SCCS Information: @(#) FILE: sortr.F SID: 2.3 DATE OF SID: 4/19/96 RELEASE: 2 \EndLib -----------------------------------------------------------------------


Constructor Summary
Ssortr()
           
 
Method Summary
static void ssortr(java.lang.String which, boolean apply, int n, float[] x1, int _x1_offset, float[] x2, int _x2_offset)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Ssortr

public Ssortr()
Method Detail

ssortr

public static void ssortr(java.lang.String which,
                          boolean apply,
                          int n,
                          float[] x1,
                          int _x1_offset,
                          float[] x2,
                          int _x2_offset)