main/sc/source/core/tool/interpr5.cxx
/** Minimum extent of one result matrix dimension.
    For a row or column vector to be replicated the larger matrix dimension is
    returned, else the smaller dimension.
 */
Minimum extent of one result matrix dimension.
For a row or column vector to be replicated the larger matrix dimension is
returned, else the smaller dimension.
Minimum extent of one result matrix dimension . For a row or column vector to be replicated the larger matrix dimension is returned else the smaller dimension .
inline SCSIZE lcl_GetMinExtent( SCSIZE n1, SCSIZE n2 )
{
    if (n1 == 1)
        return n2;
    else if (n2 == 1)
        return n1;
    else if (n1 < n2)
        return n1;
    else
        return n2;
}
inline SCSIZE lcl_GetMinExtent ( SCSIZE n1 , SCSIZE n2 ) { if ( n1 == 1 ) return n2 ; else if ( n2 == 1 ) return n1 ; else if ( n1 < n2 ) return n1 ; else return n2 ; }
Minimum extent of one result matrix dimension.
Minimum extent of one result matrix dimension .