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

Go to the source code of this file.

Functions

lapack_int LAPACKE_dsytrs_aa_2stage (int matrix_layout, char uplo, lapack_int n, lapack_int nrhs, double *a, lapack_int lda, double *tb, lapack_int ltb, lapack_int *ipiv, lapack_int *ipiv2, double *b, lapack_int ldb)

Function Documentation

◆ LAPACKE_dsytrs_aa_2stage()

lapack_int LAPACKE_dsytrs_aa_2stage ( int matrix_layout,
char uplo,
lapack_int n,
lapack_int nrhs,
double * a,
lapack_int lda,
double * tb,
lapack_int ltb,
lapack_int * ipiv,
lapack_int * ipiv2,
double * b,
lapack_int ldb )

Definition at line 35 of file lapacke_dsytrs_aa_2stage.c.

39{
40 lapack_int info = 0;
41 if( matrix_layout != LAPACK_COL_MAJOR && matrix_layout != LAPACK_ROW_MAJOR ) {
42 LAPACKE_xerbla( "LAPACKE_dsytrs_aa_2stage", -1 );
43 return -1;
44 }
45#ifndef LAPACK_DISABLE_NAN_CHECK
46 if( LAPACKE_get_nancheck() ) {
47 /* Optionally check input matrices for NaNs */
48 if( LAPACKE_dsy_nancheck( matrix_layout, uplo, n, a, lda ) ) {
49 return -5;
50 }
51 if( LAPACKE_dge_nancheck( matrix_layout, 4*n, 1, tb, ltb ) ) {
52 return -7;
53 }
54 if( LAPACKE_dge_nancheck( matrix_layout, n, nrhs, b, ldb ) ) {
55 return -11;
56 }
57 }
58#endif
59 /* Call middle-level interface */
60 info = LAPACKE_dsytrs_aa_2stage_work( matrix_layout, uplo, n, nrhs,
61 a, lda, tb, ltb, ipiv, ipiv2, b,
62 ldb );
63 return info;
64}
#define lapack_int
Definition lapack.h:83
#define LAPACK_COL_MAJOR
Definition lapacke.h:53
#define LAPACK_ROW_MAJOR
Definition lapacke.h:52
lapack_int LAPACKE_dsytrs_aa_2stage_work(int matrix_layout, char uplo, lapack_int n, lapack_int nrhs, double *a, lapack_int lda, double *tb, lapack_int ltb, lapack_int *ipiv, lapack_int *ipiv2, double *b, lapack_int ldb)
int LAPACKE_get_nancheck(void)
void LAPACKE_xerbla(const char *name, lapack_int info)
lapack_logical LAPACKE_dsy_nancheck(int matrix_layout, char uplo, lapack_int n, const double *a, lapack_int lda)
lapack_logical LAPACKE_dge_nancheck(int matrix_layout, lapack_int m, lapack_int n, const double *a, lapack_int lda)
n