libflame
12600
|
Functions | |
void | bl1_set_dims_with_trans (trans1_t trans, int m, int n, int *m_new, int *n_new) |
void | bl1_set_dim_with_side (side1_t side, int m, int n, int *dim_new) |
void bl1_set_dim_with_side | ( | side1_t | side, |
int | m, | ||
int | n, | ||
int * | dim_new | ||
) |
References bl1_is_left().
Referenced by bl1_chemm(), bl1_csymm(), bl1_ctrmm(), bl1_ctrmmsx(), bl1_ctrsm(), bl1_ctrsmsx(), bl1_dsymm(), bl1_dtrmm(), bl1_dtrmmsx(), bl1_dtrsm(), bl1_dtrsmsx(), bl1_ssymm(), bl1_strmm(), bl1_strmmsx(), bl1_strsm(), bl1_strsmsx(), bl1_zhemm(), bl1_zsymm(), bl1_ztrmm(), bl1_ztrmmsx(), bl1_ztrsm(), and bl1_ztrsmsx().
{ if ( bl1_is_left( side ) ) { *dim_new = m; } else // if ( bl1_is_right( side ) ) { *dim_new = n; } }
void bl1_set_dims_with_trans | ( | trans1_t | trans, |
int | m, | ||
int | n, | ||
int * | m_new, | ||
int * | n_new | ||
) |
References bl1_does_trans().
Referenced by bl1_cher2k(), bl1_csyr2k(), bl1_dsyr2k(), bl1_ssyr2k(), bl1_zher2k(), and bl1_zsyr2k().
{ if ( bl1_does_trans( trans ) ) { *m_new = n; *n_new = m; } else { *m_new = m; *n_new = n; } }