예제 #1
0
 void resize(mtl::compressed2D<ScalarType> & matrix,
             size_t rows,
             size_t cols)
 {
   matrix.change_dim(rows, cols);
 }
예제 #2
0
 static void resize( mtl::compressed2D< Value , MatrixParameters > &m , 
                     const mtl::dense_vector< Value , VectorParameters > &v )
 {
     m.change_dim( mtl::size( v ) , mtl::size( v ) );
 }