extended by org.netlib.blas.SAXPY

public class SAXPY
extends java.lang.Object

SAXPY is a simplified interface to the JLAPACK routine saxpy.
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 with any questions.

c c constant times a vector plus a vector. c uses unrolled loop for increments equal to one. c jack dongarra, linpack, 3/11/78. c modified 12/3/93, array(1) declarations changed to array(*) c

Constructor Summary
Method Summary
static void SAXPY(int n, float sa, 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

Constructor Detail


public SAXPY()
Method Detail


public static void SAXPY(int n,
                         float sa,
                         float[] sx,
                         int incx,
                         float[] sy,
                         int incy)