Class DNRM2

  extended by org.netlib.blas.DNRM2

public class DNRM2
extends java.lang.Object

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

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

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

Constructor Detail


public DNRM2()
Method Detail


public static double DNRM2(int n,
                           double[] x,
                           int incx)