libflame  12600
Functions
bl1_set_dims.c File Reference

(r12600)

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

void bl1_set_dim_with_side ( side1_t  side,
int  m,
int  n,
int *  dim_new 
)
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;
    }
}