Example #1
0
 static void resize( mtl::dense2D< Value , MatrixParameters > &m , 
                     const mtl::dense_vector< Value , VectorParameters > &v )
 {
     m.change_dim( mtl::size( v ) , mtl::size( v ) , false );
 }
Example #2
0
 vcl_size_t size2(mtl::dense2D<SCALARTYPE, T> const & m) { return static_cast<vcl_size_t>(m.num_cols()); }
Example #3
0
 static bool same_size( const mtl::dense2D< Value , MatrixParameters > &m , 
                        const mtl::dense_vector< Value , VectorParameters > &v )
 {
     return ( ( mtl::size( v ) == m.num_cols() ) && ( mtl::size( v ) == m.num_rows() ) );
 }
Example #4
0
vcl_size_t size2(mtl::dense2D<NumericT, T> const & m) { return static_cast<vcl_size_t>(m.num_cols()); }