Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.netlib.lapack
Class DLAG2S

    java.lang.Object
      org.netlib.lapack.DLAG2S

    public class DLAG2S

extends java.lang.Object

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

     *     ..
     *
     *  Purpose
     *  =======
     *
     *  DLAG2S converts a DOUBLE PRECISION matrix, SA, to a SINGLE
     *  PRECISION matrix, A.
     *
     *  RMAX is the overflow for the SINGLE PRECISION arithmetic
     *  DLAG2S checks that all the entries of A are between -RMAX and
     *  RMAX. If not the convertion is aborted and a flag is raised.
     *
     *  This is a helper routine so there is no argument checking.
     *
     *  Arguments
     *  =========
     *
     *  M       (input) INTEGER
     *          The number of lines of the matrix A.  M >= 0.
     *
     *  N       (input) INTEGER
     *          The number of columns of the matrix A.  N >= 0.
     *
     *  A       (input) DOUBLE PRECISION array, dimension (LDA,N)
     *          On entry, the M-by-N coefficient matrix A.
     *
     *  LDA     (input) INTEGER
     *          The leading dimension of the array A.  LDA >= max(1,M).
     *
     *  SA      (output) REAL array, dimension (LDSA,N)
     *          On exit, if INFO=0, the M-by-N coefficient matrix SA.
     *
     *  LDSA    (input) INTEGER
     *          The leading dimension of the array SA.  LDSA >= max(1,M).
     *
     *  INFO    (output) INTEGER
     *          = 0:  successful exit
     *          > 0:  if INFO = k, the (i,j) entry of the matrix A has
     *                overflowed when moving from DOUBLE PRECISION to SINGLE

     *                k is given by k = (i-1)*LDA+j
     *
     *  =========
     *
     *     .. Local Scalars ..

Constructor Summary
`DLAG2S()`

Method Summary
`static void` | `DLAG2S(int m, int n, double[][] a, float[][] sa, intW info)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### DLAG2S

    public DLAG2S()

Method Detail

### DLAG2S

    public static void DLAG2S(int m,
                              int n,
                              double[][] a,
                              float[][] sa,
                              intW info)

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD