OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
lapacke_dlacn2.c File Reference
#include "lapacke_utils.h"

Go to the source code of this file.

Functions

lapack_int LAPACKE_dlacn2 (lapack_int n, double *v, double *x, lapack_int *isgn, double *est, lapack_int *kase, lapack_int *isave)

Function Documentation

◆ LAPACKE_dlacn2()

lapack_int LAPACKE_dlacn2 ( lapack_int n,
double * v,
double * x,
lapack_int * isgn,
double * est,
lapack_int * kase,
lapack_int * isave )

Definition at line 35 of file lapacke_dlacn2.c.

37{
38#ifndef LAPACK_DISABLE_NAN_CHECK
39 if( LAPACKE_get_nancheck() ) {
40 /* Optionally check input matrices for NaNs */
41 if( LAPACKE_d_nancheck( 1, est, 1 ) ) {
42 return -5;
43 }
44 if( LAPACKE_d_nancheck( n, x, 1 ) ) {
45 return -3;
46 }
47 }
48#endif
49 return LAPACKE_dlacn2_work( n, v, x, isgn, est, kase, isave );
50}
lapack_int LAPACKE_dlacn2_work(lapack_int n, double *v, double *x, lapack_int *isgn, double *est, lapack_int *kase, lapack_int *isave)
int LAPACKE_get_nancheck(void)
lapack_logical LAPACKE_d_nancheck(lapack_int n, const double *x, lapack_int incx)
n