LAPACK
3.7.0
LAPACK: Linear Algebra PACKage
Main Page
Modules
Data Types List
Files
lapack_logical
LAPACKE_d_nancheck
(
lapack_int
n
,
const double *
x
,
lapack_int
incx
)
Definition at line
37
of file
lapacke_d_nancheck.c
.
40
{
41
lapack_int
i, inc;
42
43
if
( incx == 0 )
return
(
lapack_logical
)
LAPACK_DISNAN
( x[0] );
44
inc = ( incx > 0 ) ? incx : -incx ;
45
46
for
( i = 0; i < n*inc; i+=inc ) {
47
if
(
LAPACK_DISNAN
( x[i] ) )
48
return
(
lapack_logical
) 1;
49
}
50
return
(
lapack_logical
) 0;
51
}
lapack_logical
#define lapack_logical
Definition:
lapacke.h:51
LAPACK_DISNAN
#define LAPACK_DISNAN(x)
Definition:
lapacke_utils.h:287
lapack_int
#define lapack_int
Definition:
lapacke.h:47
LAPACKE
utils
lapacke_d_nancheck.c
Generated on Fri Dec 23 2016 15:30:35 for LAPACK by
1.8.10