org.netlib.blas
Class SASUM
java.lang.Object
org.netlib.blas.SASUM
public class SASUM
- extends java.lang.Object
SASUM is a simplified interface to the JLAPACK routine sasum.
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 uses unrolled loops for increment equal to one.
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 |
SASUM()
|
Method Summary |
static float |
SASUM(int n,
float[] sx,
int incx)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SASUM
public SASUM()
SASUM
public static float SASUM(int n,
float[] sx,
int incx)