2
0
mirror of https://github.com/boostorg/ublas.git synced 2026-02-23 16:12:09 +00:00

Made returned index_array_type etc public. Thanks to Karl for spotting this.

svn path=/trunk/boost/boost/numeric/ublas/; revision=24836
This commit is contained in:
Michael Stevens
2004-08-31 08:44:29 +00:00
parent c9df13c99e
commit 7bb61ba86f
2 changed files with 8 additions and 10 deletions

View File

@@ -259,10 +259,9 @@ namespace boost { namespace numeric { namespace ublas {
#endif
typedef const T *const_pointer;
typedef T *pointer;
typedef A array_type;
private:
typedef F functor_type;
typedef A array_type;
typedef const A const_array_type;
typedef const sparse_matrix<T, F, A> const_self_type;
typedef sparse_matrix<T, F, A> self_type;
public:
@@ -313,7 +312,7 @@ namespace boost { namespace numeric { namespace ublas {
return data_.size ();
}
BOOST_UBLAS_INLINE
const_array_type &data () const {
const array_type &data () const {
return data_;
}
BOOST_UBLAS_INLINE
@@ -2531,9 +2530,9 @@ namespace boost { namespace numeric { namespace ublas {
#endif
typedef const T *const_pointer;
typedef T *pointer;
private:
typedef IA index_array_type;
typedef TA value_array_type;
private:
typedef F functor_type;
typedef const compressed_matrix<T, F, IB, IA, TA> const_self_type;
typedef compressed_matrix<T, F, IB, IA, TA> self_type;
@@ -3871,9 +3870,9 @@ namespace boost { namespace numeric { namespace ublas {
#endif
typedef const T *const_pointer;
typedef T *pointer;
private:
typedef IA index_array_type;
typedef TA value_array_type;
private:
typedef F functor_type;
typedef const coordinate_matrix<T, F, IB, IA, TA> const_self_type;
typedef coordinate_matrix<T, F, IB, IA, TA> self_type;

View File

@@ -255,9 +255,8 @@ namespace boost { namespace numeric { namespace ublas {
#endif
typedef const T *const_pointer;
typedef T *pointer;
private:
typedef A array_type;
typedef const A const_array_type;
private:
typedef const sparse_vector<T, A> const_self_type;
typedef sparse_vector<T, A> self_type;
public:
@@ -303,7 +302,7 @@ namespace boost { namespace numeric { namespace ublas {
return data_.size ();
}
BOOST_UBLAS_INLINE
const_array_type &data () const {
const array_type &data () const {
return data_;
}
BOOST_UBLAS_INLINE
@@ -747,9 +746,9 @@ namespace boost { namespace numeric { namespace ublas {
#endif
typedef const T *const_pointer;
typedef T *pointer;
private:
typedef IA index_array_type;
typedef TA value_array_type;
private:
typedef const compressed_vector<T, IB, IA, TA> const_self_type;
typedef compressed_vector<T, IB, IA, TA> self_type;
public:
@@ -1314,9 +1313,9 @@ namespace boost { namespace numeric { namespace ublas {
#endif
typedef const T *const_pointer;
typedef T *pointer;
private:
typedef IA index_array_type;
typedef TA value_array_type;
private:
typedef const coordinate_vector<T, IB, IA, TA> const_self_type;
typedef coordinate_vector<T, IB, IA, TA> self_type;
public: