}
/* Transpose input matrices */
LAPACKE_cge_trans( matrix_layout, m, n, a, lda, a_t, lda_t );
- if( LAPACKE_lsame( jobu, 'f' ) || LAPACKE_lsame( jobu, 'u' ) ||
- LAPACKE_lsame( jobu, 'w' ) ) {
- LAPACKE_cge_trans( matrix_layout, nu, n, u, ldu, u_t, ldu_t );
- }
- if( LAPACKE_lsame( jobv, 'j' ) || LAPACKE_lsame( jobv, 'v' ) ||
- LAPACKE_lsame( jobv, 'w' ) ) {
- LAPACKE_cge_trans( matrix_layout, nv, n, v, ldv, v_t, ldv_t );
- }
/* Call LAPACK function and adjust info */
LAPACK_cgejsv( &joba, &jobu, &jobv, &jobr, &jobt, &jobp, &m, &n, a_t,
&lda_t, sva, u_t, &ldu_t, v_t, &ldv_t, cwork, &lwork,
}
/* Transpose input matrices */
LAPACKE_dge_trans( matrix_layout, m, n, a, lda, a_t, lda_t );
- if( LAPACKE_lsame( jobu, 'f' ) || LAPACKE_lsame( jobu, 'u' ) ||
- LAPACKE_lsame( jobu, 'w' ) ) {
- LAPACKE_dge_trans( matrix_layout, nu, n, u, ldu, u_t, ldu_t );
- }
- if( LAPACKE_lsame( jobv, 'j' ) || LAPACKE_lsame( jobv, 'v' ) ||
- LAPACKE_lsame( jobv, 'w' ) ) {
- LAPACKE_dge_trans( matrix_layout, nv, n, v, ldv, v_t, ldv_t );
- }
/* Call LAPACK function and adjust info */
LAPACK_dgejsv( &joba, &jobu, &jobv, &jobr, &jobt, &jobp, &m, &n, a_t,
&lda_t, sva, u_t, &ldu_t, v_t, &ldv_t, work, &lwork,
}
/* Transpose input matrices */
LAPACKE_sge_trans( matrix_layout, m, n, a, lda, a_t, lda_t );
- if( LAPACKE_lsame( jobu, 'f' ) || LAPACKE_lsame( jobu, 'u' ) ||
- LAPACKE_lsame( jobu, 'w' ) ) {
- LAPACKE_sge_trans( matrix_layout, nu, n, u, ldu, u_t, ldu_t );
- }
- if( LAPACKE_lsame( jobv, 'j' ) || LAPACKE_lsame( jobv, 'v' ) ||
- LAPACKE_lsame( jobv, 'w' ) ) {
- LAPACKE_sge_trans( matrix_layout, nv, n, v, ldv, v_t, ldv_t );
- }
/* Call LAPACK function and adjust info */
LAPACK_sgejsv( &joba, &jobu, &jobv, &jobr, &jobt, &jobp, &m, &n, a_t,
&lda_t, sva, u_t, &ldu_t, v_t, &ldv_t, work, &lwork,
}
/* Transpose input matrices */
LAPACKE_zge_trans( matrix_layout, m, n, a, lda, a_t, lda_t );
- if( LAPACKE_lsame( jobu, 'f' ) || LAPACKE_lsame( jobu, 'u' ) ||
- LAPACKE_lsame( jobu, 'w' ) ) {
- LAPACKE_zge_trans( matrix_layout, nu, n, u, ldu, u_t, ldu_t );
- }
- if( LAPACKE_lsame( jobv, 'j' ) || LAPACKE_lsame( jobv, 'v' ) ||
- LAPACKE_lsame( jobv, 'w' ) ) {
- LAPACKE_zge_trans( matrix_layout, nv, n, v, ldv, v_t, ldv_t );
- }
/* Call LAPACK function and adjust info */
LAPACK_zgejsv( &joba, &jobu, &jobv, &jobr, &jobt, &jobp, &m, &n, a_t,
&lda_t, sva, u_t, &ldu_t, v_t, &ldv_t, cwork, &lwork,