PLASMA  2.8.0
PLASMA - Parallel Linear Algebra for Scalable Multi-core Architectures
void CORE_dlag2s ( int  m,
int  n,
const double *  A,
int  lda,
float *  B,
int  ldb,
int *  info 
)

CORE_dlag2s converts a double matrix, A, to a float matrix, B.

Parameters
[in]mThe number of rows of the matrices A and B. m >= 0.
[in]nThe number of columns of the matrices A and B. n >= 0.
[in]AThe double m-by-n matrix to convert.
[in]ldaThe leading dimension of the array A. lda >= max(1,m).
[out]BThe float m-by-n matrix to convert.
[in]ldbThe leading dimension of the array B. ldb >= max(1,m).
[out]info
  • 0 on successful exit.
  • 1 if an entry of the matrix A is greater than the SINGLE PRECISION overflow threshold, in this case, the content of B in exit is unspecified.