libflame revision_anchor
Functions
bli_set_dims.c File Reference

(r)

Functions

void bli_set_dims_with_trans (char trans, int m, int n, int *m_new, int *n_new)
void bli_set_dim_with_side (char side, int m, int n, int *dim_new)

Function Documentation

void bli_set_dim_with_side ( char  side,
int  m,
int  n,
int *  dim_new 
)
void bli_set_dims_with_trans ( char  trans,
int  m,
int  n,
int *  m_new,
int *  n_new 
)

References bli_does_trans().

{
    if ( bli_does_trans( trans ) )
    {
        *m_new = n;
        *n_new = m;
    }
    else
    {
        *m_new = m;
        *n_new = n;
    }
}