libflame revision_anchor
Functions
bl1_set_dims.c File Reference

(r)

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)
 

Function Documentation

◆ bl1_set_dim_with_side()

void bl1_set_dim_with_side ( side1_t  side,
int  m,
int  n,
int dim_new 
)
28{
29 if ( bl1_is_left( side ) )
30 {
31 *dim_new = m;
32 }
33 else // if ( bl1_is_right( side ) )
34 {
35 *dim_new = n;
36 }
37}
int i
Definition bl1_axmyv2.c:145
int bl1_is_left(side1_t side)
Definition bl1_is.c:61

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().

◆ bl1_set_dims_with_trans()

void bl1_set_dims_with_trans ( trans1_t  trans,
int  m,
int  n,
int m_new,
int n_new 
)
14{
15 if ( bl1_does_trans( trans ) )
16 {
17 *m_new = n;
18 *n_new = m;
19 }
20 else
21 {
22 *m_new = m;
23 *n_new = n;
24 }
25}
int bl1_does_trans(trans1_t trans)
Definition bl1_does.c:13

References bl1_does_trans().

Referenced by bl1_cher2k(), bl1_csyr2k(), bl1_dsyr2k(), bl1_ssyr2k(), bl1_zher2k(), and bl1_zsyr2k().