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

Go to the source code of this file.

Functions

lapack_int LAPACKE_slartgs (float x, float y, float sigma, float *cs, float *sn)

Function Documentation

◆ LAPACKE_slartgs()

lapack_int LAPACKE_slartgs ( float x,
float y,
float sigma,
float * cs,
float * sn )

Definition at line 35 of file lapacke_slartgs.c.

37{
38#ifndef LAPACK_DISABLE_NAN_CHECK
39 if( LAPACKE_get_nancheck() ) {
40 /* Optionally check input matrices for NaNs */
41 if( LAPACKE_s_nancheck( 1, &sigma, 1 ) ) {
42 return -3;
43 }
44 if( LAPACKE_s_nancheck( 1, &x, 1 ) ) {
45 return -1;
46 }
47 if( LAPACKE_s_nancheck( 1, &y, 1 ) ) {
48 return -2;
49 }
50 }
51#endif
52 return LAPACKE_slartgs_work( x, y, sigma, cs, sn );
53}
lapack_int LAPACKE_slartgs_work(float x, float y, float sigma, float *cs, float *sn)
int LAPACKE_get_nancheck(void)
lapack_logical LAPACKE_s_nancheck(lapack_int n, const float *x, lapack_int incx)