From 63788a6dd2a459181e69622bcc19d4dcee617bcc Mon Sep 17 00:00:00 2001 From: Michael Stevens Date: Thu, 26 Aug 2004 15:45:43 +0000 Subject: [PATCH] resize not used. It just adds more mutable requirements [SVN r24762] --- include/boost/numeric/ublas/matrix_expression.hpp | 13 ------------- include/boost/numeric/ublas/vector_expression.hpp | 13 ------------- 2 files changed, 26 deletions(-) diff --git a/include/boost/numeric/ublas/matrix_expression.hpp b/include/boost/numeric/ublas/matrix_expression.hpp index 0b5aafbb..ab9736b7 100644 --- a/include/boost/numeric/ublas/matrix_expression.hpp +++ b/include/boost/numeric/ublas/matrix_expression.hpp @@ -412,19 +412,6 @@ namespace boost { namespace numeric { namespace ublas { return e_; } - // Resizing -#ifndef BOOST_UBLAS_REFERENCE_CONST_MEMBER - BOOST_UBLAS_INLINE - void resize (size_type size1, size_type size2) { - expression ().resize (size1, size2); - } -#else - BOOST_UBLAS_INLINE - void resize (size_type size1, size_type size2) const { - expression ().resize (size1, size2); - } -#endif - // Element access #ifndef BOOST_UBLAS_REFERENCE_CONST_MEMBER BOOST_UBLAS_INLINE diff --git a/include/boost/numeric/ublas/vector_expression.hpp b/include/boost/numeric/ublas/vector_expression.hpp index 80aaffd3..d7e2e105 100644 --- a/include/boost/numeric/ublas/vector_expression.hpp +++ b/include/boost/numeric/ublas/vector_expression.hpp @@ -351,19 +351,6 @@ namespace boost { namespace numeric { namespace ublas { return e_; } - // Resizing -#ifndef BOOST_UBLAS_REFERENCE_CONST_MEMBER - BOOST_UBLAS_INLINE - void resize (size_type size) { - expression ().resize (size); - } -#else - BOOST_UBLAS_INLINE - void resize (size_type size) const { - expression ().resize (size); - } -#endif - // Element access #ifndef BOOST_UBLAS_REFERENCE_CONST_MEMBER BOOST_UBLAS_INLINE