LAPACK  3.5.0
LAPACK: Linear Algebra PACKage
 All Classes Files Functions Variables Typedefs Macros
lapacke_dhs_trans.c File Reference
#include "lapacke_utils.h"
Include dependency graph for lapacke_dhs_trans.c:

Go to the source code of this file.

Functions/Subroutines

void LAPACKE_dhs_trans (int matrix_order, lapack_int n, const double *in, lapack_int ldin, double *out, lapack_int ldout)

Function/Subroutine Documentation

void LAPACKE_dhs_trans ( int  matrix_order,
lapack_int  n,
const double *  in,
lapack_int  ldin,
double *  out,
lapack_int  ldout 
)

Definition at line 40 of file lapacke_dhs_trans.c.

{
if( in == NULL || out == NULL ) return;
/* Convert subdiagonal first */
if( matrix_order == LAPACK_COL_MAJOR ) {
LAPACKE_dge_trans( LAPACK_COL_MAJOR, 1, n-1, &in[1], ldin+1,
&out[ldout], ldout+1 );
} else if ( matrix_order == LAPACK_ROW_MAJOR ) {
LAPACKE_dge_trans( LAPACK_ROW_MAJOR, n-1, 1, &in[ldin], ldin+1,
&out[1], ldout+1 );
} else {
return;
}
/* Convert upper triangular. */
LAPACKE_dtr_trans( matrix_order, 'u', 'n', n, in, ldin, out, ldout);
}

Here is the call graph for this function: