org.netlib.blas
Class DSWAP
java.lang.Object
org.netlib.blas.DSWAP
public class DSWAP
- extends java.lang.Object
DSWAP is a simplified interface to the JLAPACK routine dswap.
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 one.
c jack dongarra, linpack, 3/11/78.
c modified 12/3/93, array(1) declarations changed to array(*)
c
Constructor Summary |
DSWAP()
|
Method Summary |
static void |
DSWAP(int n,
double[] dx,
int incx,
double[] dy,
int incy)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DSWAP
public DSWAP()
DSWAP
public static void DSWAP(int n,
double[] dx,
int incx,
double[] dy,
int incy)