LAPACK  3.10.1
LAPACK: Linear Algebra PACKage

◆ LAPACKE_dlassq()

lapack_int LAPACKE_dlassq ( lapack_int  n,
double *  x,
lapack_int  incx,
double *  scale,
double *  sumsq 
)

Definition at line 35 of file lapacke_dlassq.c.

36 {
37 #ifndef LAPACK_DISABLE_NAN_CHECK
38  if( LAPACKE_get_nancheck() ) {
39  /* Optionally check input vector `x` and in/out scalars `scale` and `sumsq` for NaNs */
40  if( LAPACKE_d_nancheck( n, x, incx ) ) {
41  return -2;
42  }
43  if( LAPACKE_d_nancheck( 1, scale, 1 ) ) {
44  return -4;
45  }
46  if( LAPACKE_d_nancheck( 1, sumsq, 1 ) ) {
47  return -5;
48  }
49  }
50 #endif
51  return LAPACKE_dlassq_work( n, x, incx, scale, sumsq );
52 }
int LAPACKE_get_nancheck(void)
lapack_int LAPACKE_dlassq_work(lapack_int n, double *x, lapack_int incx, double *scale, double *sumsq)
lapack_logical LAPACKE_d_nancheck(lapack_int n, const double *x, lapack_int incx)
Here is the call graph for this function: