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

Go to the source code of this file.

Functions

lapack_int LAPACKE_clacn2 (lapack_int n, lapack_complex_float *v, lapack_complex_float *x, float *est, lapack_int *kase, lapack_int *isave)

Function Documentation

◆ LAPACKE_clacn2()

lapack_int LAPACKE_clacn2 ( lapack_int n,
lapack_complex_float * v,
lapack_complex_float * x,
float * est,
lapack_int * kase,
lapack_int * isave )

Definition at line 35 of file lapacke_clacn2.c.

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