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