mirror of
https://github.com/boostorg/ublas.git
synced 2026-02-23 16:12:09 +00:00
use array size_type
svn path=/trunk/boost/boost/numeric/ublas/; revision=25252
This commit is contained in:
@@ -33,8 +33,8 @@ namespace boost { namespace numeric { namespace ublas {
|
||||
#ifndef BOOST_UBLAS_NO_PROXY_SHORTCUTS
|
||||
BOOST_UBLAS_USING matrix_expression<banded_matrix<T, F, A> >::operator ();
|
||||
#endif
|
||||
typedef std::size_t size_type;
|
||||
typedef std::ptrdiff_t difference_type;
|
||||
typedef typename A::size_type size_type;
|
||||
typedef typename A::difference_type difference_type;
|
||||
typedef T value_type;
|
||||
typedef const T &const_reference;
|
||||
typedef T &reference;
|
||||
@@ -1014,7 +1014,7 @@ namespace boost { namespace numeric { namespace ublas {
|
||||
class diagonal_matrix:
|
||||
public banded_matrix<T, F, A> {
|
||||
public:
|
||||
typedef std::size_t size_type;
|
||||
typedef typename A::size_type size_type;
|
||||
typedef banded_matrix<T, F, A> matrix_type;
|
||||
|
||||
// Construction and destruction
|
||||
|
||||
@@ -163,8 +163,8 @@ namespace boost { namespace numeric { namespace ublas {
|
||||
typedef typename type_traits<element_type>::real_type real_type;
|
||||
typedef typename type_traits<element_type>::precision_type precision_type;
|
||||
|
||||
BOOST_STATIC_CONSTANT (std::size_t, plus_complexity = type_traits<element_type>::plus_complexity);
|
||||
BOOST_STATIC_CONSTANT (std::size_t, multiplies_complexity = type_traits<element_type>::multiplies_complexity);
|
||||
BOOST_STATIC_CONSTANT (unsigned, plus_complexity = type_traits<element_type>::plus_complexity);
|
||||
BOOST_STATIC_CONSTANT (unsigned, multiplies_complexity = type_traits<element_type>::multiplies_complexity);
|
||||
|
||||
static
|
||||
BOOST_UBLAS_INLINE
|
||||
@@ -240,8 +240,8 @@ namespace boost { namespace numeric { namespace ublas {
|
||||
#ifndef BOOST_UBLAS_NO_PROXY_SHORTCUTS
|
||||
BOOST_UBLAS_USING matrix_expression<hermitian_matrix<T, F1, F2, A> >::operator ();
|
||||
#endif
|
||||
typedef std::size_t size_type;
|
||||
typedef std::ptrdiff_t difference_type;
|
||||
typedef typename A::size_type size_type;
|
||||
typedef typename A::difference_type difference_type;
|
||||
typedef T value_type;
|
||||
// FIXME: no better way to not return the address of a temporary?
|
||||
// typedef const T &const_reference;
|
||||
|
||||
@@ -50,8 +50,8 @@ namespace boost { namespace numeric { namespace ublas {
|
||||
#ifndef BOOST_UBLAS_NO_PROXY_SHORTCUTS
|
||||
BOOST_UBLAS_USING matrix_expression<symmetric_matrix<T, F1, F2, A> >::operator ();
|
||||
#endif
|
||||
typedef std::size_t size_type;
|
||||
typedef std::ptrdiff_t difference_type;
|
||||
typedef typename A::size_type size_type;
|
||||
typedef typename A::difference_type difference_type;
|
||||
typedef T value_type;
|
||||
typedef const T &const_reference;
|
||||
typedef T &reference;
|
||||
|
||||
@@ -33,8 +33,8 @@ namespace boost { namespace numeric { namespace ublas {
|
||||
#ifndef BOOST_UBLAS_NO_PROXY_SHORTCUTS
|
||||
BOOST_UBLAS_USING matrix_expression<triangular_matrix<T, F1, F2, A> >::operator ();
|
||||
#endif
|
||||
typedef std::size_t size_type;
|
||||
typedef std::ptrdiff_t difference_type;
|
||||
typedef typename A::size_type size_type;
|
||||
typedef typename A::difference_type difference_type;
|
||||
typedef T value_type;
|
||||
typedef const T &const_reference;
|
||||
typedef T &reference;
|
||||
|
||||
@@ -36,8 +36,8 @@ namespace boost { namespace numeric { namespace ublas {
|
||||
#ifndef BOOST_UBLAS_NO_PROXY_SHORTCUTS
|
||||
BOOST_UBLAS_USING matrix_expression<generalized_vector_of_vector<T, F, A> >::operator ();
|
||||
#endif
|
||||
typedef std::size_t size_type;
|
||||
typedef std::ptrdiff_t difference_type;
|
||||
typedef typename A::size_type size_type;
|
||||
typedef typename A::difference_type difference_type;
|
||||
typedef T value_type;
|
||||
typedef const T &const_reference;
|
||||
#ifndef BOOST_UBLAS_STRICT_VECTOR_SPARSE
|
||||
|
||||
Reference in New Issue
Block a user