org.netlib.blas
Class SNRM2

java.lang.Object
  extended by org.netlib.blas.SNRM2

public class SNRM2
extends java.lang.Object

SNRM2 is a simplified interface to the JLAPACK routine snrm2.
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.

* .. * * SNRM2 returns the euclidean norm of a vector via the function * name, so that * * SNRM2 := sqrt( x'*x ) * * * * -- This version written on 25-October-1982. * Modified on 14-October-1993 to inline the call to SLASSQ. * Sven Hammarling, Nag Ltd. * * * .. Parameters ..


Constructor Summary
SNRM2()
           
 
Method Summary
static float SNRM2(int n, float[] x, int incx)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SNRM2

public SNRM2()
Method Detail

SNRM2

public static float SNRM2(int n,
                          float[] x,
                          int incx)