id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 3449,introduce new free functions to access matrix/vector properties,Gunter,Gunter,"introduce new functions to make the access to important matrix properties more user friendly. The required functions are: ''for vector expression'' {{{ size( v ); // the number of elements in the vector size<1>( v ); // synonym of size( v ) }}} ''for matrix expression'' {{{ // rationale: this is the most common name in mathematics num_rows( m ); // return number of rows num_columns( m ); // return number of row }}} {{{ // rationale: size gives the size of the i-th index of operator() size<1>( m ); // synonym of num_rows( m ) size<2>( m ); // synonym of num_columns( m ) }}} ''for matrix containers'' {{{ size( m ); // return the number of elements in the outer loop size( m ); // return the number of elements in the inner loop }}} ''maybe for dense matrix proxies'' {{{ // rationale: this is widely used by LAPACK and similar size( m ); // return the leading dimension }}} '''note:''' The leading dimension is the distance in memory between elements of two consecutive rows/columns which have the same colum/row index. This value must be extracted from the underlying matrix container. ",Feature Requests,closed,Boost 1.41.0,uBLAS,Boost Release Branch,Optimization,fixed,,