org.netlib.lapack
Class SLAG2D
java.lang.Object
org.netlib.lapack.SLAG2D
public class SLAG2D
- extends java.lang.Object
SLAG2D is a simplified interface to the JLAPACK routine slag2d.
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
* =======
*
* SLAG2D converts a SINGLE PRECISION matrix, SA, to a DOUBLE
* PRECISION matrix, A.
*
* Note that while it is possible to overflow while converting
* from double to single, it is not possible to overflow when
* converting from single to double.
*
* 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.
*
* SA (output) REAL array, dimension (LDSA,N)
* On exit, the M-by-N coefficient matrix SA.
*
* LDSA (input) INTEGER
* The leading dimension of the array SA. LDSA >= max(1,M).
*
* 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).
*
* INFO (output) INTEGER
* = 0: successful exit
* =========
*
* .. Local Scalars ..
Method Summary |
static void |
SLAG2D(int m,
int n,
float[][] sa,
double[][] a,
intW info)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SLAG2D
public SLAG2D()
SLAG2D
public static void SLAG2D(int m,
int n,
float[][] sa,
double[][] a,
intW info)