org.netlib.blas
Class SSWAP
java.lang.Object
org.netlib.blas.SSWAP
public class SSWAP
- extends java.lang.Object
SSWAP is a simplified interface to the JLAPACK routine sswap.
This interface converts Java-style 2D row-major arrays into
the 1D column-major linearized arrays expected by the lower
level JLAPACK routines. Using this interface also allows you
to omit offset and leading dimension arguments. However, because
of these conversions, these routines will be slower than the low
level ones. Following is the description from the original Fortran
source. Contact seymour@cs.utk.edu with any questions.
c
c interchanges two vectors.
c uses unrolled loops for increments equal to 1.
c jack dongarra, linpack, 3/11/78.
c modified 12/3/93, array(1) declarations changed to array(*)
c
Constructor Summary |
SSWAP()
|
Method Summary |
static void |
SSWAP(int n,
float[] sx,
int incx,
float[] sy,
int incy)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SSWAP
public SSWAP()
SSWAP
public static void SSWAP(int n,
float[] sx,
int incx,
float[] sy,
int incy)