A dense vector of values of type T
with the given size
. The data is stored as an ordinary C++ array T
data_
[M].
More...
#include <vector.hpp>
Classes | |
class | const_iterator |
class | iterator |
Public Types | |
typedef std::size_t | size_type |
typedef std::ptrdiff_t | difference_type |
typedef T | value_type |
typedef const T & | const_reference |
typedef T & | reference |
typedef value_type | array_type [N] |
typedef T * | pointer |
typedef const T * | const_pointer |
typedef const vector_reference < const self_type > | const_closure_type |
typedef vector_reference < self_type > | closure_type |
typedef self_type | vector_temporary_type |
typedef dense_tag | storage_category |
typedef reverse_iterator_base < const_iterator > | const_reverse_iterator |
typedef reverse_iterator_base < iterator > | reverse_iterator |
typedef c_vector< T, N > | container_type |
typedef vector_tag | type_category |
typedef E | expression_type |
Public Member Functions | |
BOOST_UBLAS_INLINE | c_vector () |
BOOST_UBLAS_INLINE | c_vector (size_type size) |
BOOST_UBLAS_INLINE | c_vector (const c_vector &v) |
template<class AE > | |
BOOST_UBLAS_INLINE | c_vector (const vector_expression< AE > &ae) |
BOOST_UBLAS_INLINE size_type | size () const |
BOOST_UBLAS_INLINE const_pointer | data () const |
BOOST_UBLAS_INLINE pointer | data () |
BOOST_UBLAS_INLINE void | resize (size_type size, bool=true) |
BOOST_UBLAS_INLINE pointer | find_element (size_type i) |
BOOST_UBLAS_INLINE const_pointer | find_element (size_type i) const |
BOOST_UBLAS_INLINE const_reference | operator() (size_type i) const |
BOOST_UBLAS_INLINE reference | operator() (size_type i) |
BOOST_UBLAS_INLINE const_reference | operator[] (size_type i) const |
BOOST_UBLAS_INLINE reference | operator[] (size_type i) |
BOOST_UBLAS_INLINE reference | insert_element (size_type i, const_reference t) |
BOOST_UBLAS_INLINE void | erase_element (size_type i) |
BOOST_UBLAS_INLINE void | clear () |
BOOST_UBLAS_INLINE c_vector & | operator= (const c_vector &v) |
template<class C > | |
BOOST_UBLAS_INLINE c_vector & | operator= (const vector_container< C > &v) |
BOOST_UBLAS_INLINE c_vector & | assign_temporary (c_vector &v) |
template<class AE > | |
BOOST_UBLAS_INLINE c_vector & | operator= (const vector_expression< AE > &ae) |
template<class AE > | |
BOOST_UBLAS_INLINE c_vector & | assign (const vector_expression< AE > &ae) |
template<class AE > | |
BOOST_UBLAS_INLINE c_vector & | operator+= (const vector_expression< AE > &ae) |
template<class C > | |
BOOST_UBLAS_INLINE c_vector & | operator+= (const vector_container< C > &v) |
template<class AE > | |
BOOST_UBLAS_INLINE c_vector & | plus_assign (const vector_expression< AE > &ae) |
template<class AE > | |
BOOST_UBLAS_INLINE c_vector & | operator-= (const vector_expression< AE > &ae) |
template<class C > | |
BOOST_UBLAS_INLINE c_vector & | operator-= (const vector_container< C > &v) |
template<class AE > | |
BOOST_UBLAS_INLINE c_vector & | minus_assign (const vector_expression< AE > &ae) |
template<class AT > | |
BOOST_UBLAS_INLINE c_vector & | operator*= (const AT &at) |
template<class AT > | |
BOOST_UBLAS_INLINE c_vector & | operator/= (const AT &at) |
BOOST_UBLAS_INLINE void | swap (c_vector &v) |
BOOST_UBLAS_INLINE const_iterator | find (size_type i) const |
BOOST_UBLAS_INLINE iterator | find (size_type i) |
BOOST_UBLAS_INLINE const_iterator | begin () const |
BOOST_UBLAS_INLINE const_iterator | cbegin () const |
BOOST_UBLAS_INLINE const_iterator | end () const |
BOOST_UBLAS_INLINE const_iterator | cend () const |
BOOST_UBLAS_INLINE iterator | begin () |
BOOST_UBLAS_INLINE iterator | end () |
BOOST_UBLAS_INLINE const_reverse_iterator | rbegin () const |
BOOST_UBLAS_INLINE const_reverse_iterator | crbegin () const |
BOOST_UBLAS_INLINE const_reverse_iterator | rend () const |
BOOST_UBLAS_INLINE const_reverse_iterator | crend () const |
BOOST_UBLAS_INLINE reverse_iterator | rbegin () |
BOOST_UBLAS_INLINE reverse_iterator | rend () |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int) |
BOOST_UBLAS_INLINE const container_type & | operator() () const |
BOOST_UBLAS_INLINE container_type & | operator() () |
Static Public Attributes | |
static const unsigned | complexity |
Friends | |
BOOST_UBLAS_INLINE friend void | swap (c_vector &v1, c_vector &v2) |
A dense vector of values of type T
with the given size
. The data is stored as an ordinary C++ array T
data_
[M].
typedef value_type boost::numeric::ublas::c_vector< T, N >::array_type[N] |
typedef vector_reference<self_type> boost::numeric::ublas::c_vector< T, N >::closure_type |
typedef const vector_reference<const self_type> boost::numeric::ublas::c_vector< T, N >::const_closure_type |
typedef const T* boost::numeric::ublas::c_vector< T, N >::const_pointer |
typedef const T& boost::numeric::ublas::c_vector< T, N >::const_reference |
typedef reverse_iterator_base<const_iterator> boost::numeric::ublas::c_vector< T, N >::const_reverse_iterator |
|
inherited |
typedef std::ptrdiff_t boost::numeric::ublas::c_vector< T, N >::difference_type |
|
inherited |
typedef T* boost::numeric::ublas::c_vector< T, N >::pointer |
typedef T& boost::numeric::ublas::c_vector< T, N >::reference |
typedef reverse_iterator_base<iterator> boost::numeric::ublas::c_vector< T, N >::reverse_iterator |
typedef std::size_t boost::numeric::ublas::c_vector< T, N >::size_type |
typedef dense_tag boost::numeric::ublas::c_vector< T, N >::storage_category |
|
inherited |
typedef T boost::numeric::ublas::c_vector< T, N >::value_type |
typedef self_type boost::numeric::ublas::c_vector< T, N >::vector_temporary_type |
|
inline |
|
inlineexplicit |
References N, and boost::numeric::ublas::bad_size::raise().
|
inline |
References N, and boost::numeric::ublas::bad_size::raise().
|
inline |
|
inline |
References boost::numeric::ublas::c_vector< T, N >::find().
Referenced by boost::numeric::ublas::c_vector< T, N >::cbegin(), boost::numeric::ublas::c_vector< T, N >::const_iterator::index(), boost::numeric::ublas::c_vector< T, N >::iterator::index(), boost::numeric::ublas::c_vector< T, N >::const_iterator::operator*(), boost::numeric::ublas::c_vector< T, N >::iterator::operator*(), and boost::numeric::ublas::c_vector< T, N >::rend().
|
inline |
References boost::numeric::ublas::c_vector< T, N >::find().
|
inline |
References boost::numeric::ublas::c_vector< T, N >::begin().
|
inline |
References boost::numeric::ublas::c_vector< T, N >::end().
|
inline |
References std::fill().
|
inline |
|
inline |
References boost::numeric::ublas::c_vector< T, N >::rend().
|
inline |
|
inline |
|
inline |
References boost::numeric::ublas::c_vector< T, N >::find(), and boost::msm::front::euml::size_.
Referenced by boost::numeric::ublas::c_vector< T, N >::cend(), boost::numeric::ublas::c_vector< T, N >::const_iterator::index(), boost::numeric::ublas::c_vector< T, N >::iterator::index(), boost::numeric::ublas::c_vector< T, N >::const_iterator::operator*(), boost::numeric::ublas::c_vector< T, N >::iterator::operator*(), and boost::numeric::ublas::c_vector< T, N >::rbegin().
|
inline |
|
inline |
References BOOST_UBLAS_CHECK, and boost::multiprecision::backends::i.
|
inline |
|
inline |
|
inline |
|
inline |
References boost::multiprecision::backends::i.
|
inline |
References BOOST_UBLAS_CHECK.
|
inline |
Referenced by boost::numeric::ublas::c_vector< T, N >::operator-=().
|
inlineinherited |
|
inlineinherited |
|
inline |
References BOOST_UBLAS_CHECK, and boost::multiprecision::backends::i.
|
inline |
References BOOST_UBLAS_CHECK, and boost::multiprecision::backends::i.
|
inline |
References boost::xpressive::at.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
References boost::xpressive::at.
|
inline |
References boost::filesystem::detail::copy().
|
inline |
|
inline |
|
inline |
References boost::multiprecision::backends::i.
|
inline |
References boost::multiprecision::backends::i.
|
inline |
Referenced by boost::numeric::ublas::c_vector< T, N >::operator+=().
|
inline |
References boost::numeric::ublas::c_vector< T, N >::end().
Referenced by boost::numeric::ublas::c_vector< T, N >::crbegin().
|
inline |
References boost::numeric::ublas::c_vector< T, N >::end().
|
inline |
References boost::numeric::ublas::c_vector< T, N >::begin().
Referenced by boost::numeric::ublas::c_vector< T, N >::crend().
|
inline |
References boost::numeric::ublas::c_vector< T, N >::begin().
|
inline |
References N, boost::numeric::ublas::bad_size::raise(), and boost::numeric::ublas::c_vector< T, N >::size().
Referenced by boost::numeric::ublas::c_vector< T, N >::operator=().
|
inline |
|
inline |
|
inline |
References BOOST_UBLAS_CHECK, boost::swap, and boost::range::swap_ranges().
Referenced by boost::numeric::ublas::c_vector< T, N >::assign_temporary().
|
friend |
|
staticinherited |