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

Go to the source code of this file.

Functions

lapack_int LAPACKE_cgttrf (lapack_int n, lapack_complex_float *dl, lapack_complex_float *d, lapack_complex_float *du, lapack_complex_float *du2, lapack_int *ipiv)

Function Documentation

◆ LAPACKE_cgttrf()

Definition at line 35 of file lapacke_cgttrf.c.

38{
39#ifndef LAPACK_DISABLE_NAN_CHECK
40 if( LAPACKE_get_nancheck() ) {
41 /* Optionally check input matrices for NaNs */
42 if( LAPACKE_c_nancheck( n, d, 1 ) ) {
43 return -3;
44 }
45 if( LAPACKE_c_nancheck( n-1, dl, 1 ) ) {
46 return -2;
47 }
48 if( LAPACKE_c_nancheck( n-1, du, 1 ) ) {
49 return -4;
50 }
51 }
52#endif
53 return LAPACKE_cgttrf_work( n, dl, d, du, du2, ipiv );
54}
int LAPACKE_get_nancheck(void)
lapack_int LAPACKE_cgttrf_work(lapack_int n, lapack_complex_float *dl, lapack_complex_float *d, lapack_complex_float *du, lapack_complex_float *du2, lapack_int *ipiv)
lapack_logical LAPACKE_c_nancheck(lapack_int n, const lapack_complex_float *x, lapack_int incx)
n