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

Go to the source code of this file.

Functions

lapack_int LAPACKE_slartgp (float f, float g, float *cs, float *sn, float *r)

Function Documentation

◆ LAPACKE_slartgp()

lapack_int LAPACKE_slartgp ( float f,
float g,
float * cs,
float * sn,
float * r )

Definition at line 35 of file lapacke_slartgp.c.

36{
37#ifndef LAPACK_DISABLE_NAN_CHECK
38 if( LAPACKE_get_nancheck() ) {
39 /* Optionally check input matrices for NaNs */
40 if( LAPACKE_s_nancheck( 1, &f, 1 ) ) {
41 return -1;
42 }
43 if( LAPACKE_s_nancheck( 1, &g, 1 ) ) {
44 return -2;
45 }
46 }
47#endif
48 return LAPACKE_slartgp_work( f, g, cs, sn, r );
49}
int LAPACKE_get_nancheck(void)
lapack_int LAPACKE_slartgp_work(float f, float g, float *cs, float *sn, float *r)
lapack_logical LAPACKE_s_nancheck(lapack_int n, const float *x, lapack_int incx)