#include <matrix_sparse.hpp>
Classes | |
class | const_iterator1 |
class | const_iterator2 |
class | iterator1 |
class | iterator2 |
Public Types | |
typedef IA::value_type | size_type |
typedef std::ptrdiff_t | difference_type |
typedef IA::size_type | array_size_type |
typedef T | value_type |
typedef const T & | const_reference |
typedef T & | reference |
typedef IA | index_array_type |
typedef TA | value_array_type |
typedef const matrix_reference < const self_type > | const_closure_type |
typedef matrix_reference < self_type > | closure_type |
typedef coordinate_vector< T, IB, IA, TA > | vector_temporary_type |
typedef self_type | matrix_temporary_type |
typedef sparse_tag | storage_category |
typedef L::orientation_category | orientation_category |
typedef reverse_iterator_base1 < const_iterator1 > | const_reverse_iterator1 |
typedef reverse_iterator_base1 < iterator1 > | reverse_iterator1 |
typedef reverse_iterator_base2 < const_iterator2 > | const_reverse_iterator2 |
typedef reverse_iterator_base2 < iterator2 > | reverse_iterator2 |
typedef coordinate_matrix< T, L, IB, IA, TA > | container_type |
typedef matrix_tag | type_category |
typedef E | expression_type |
Public Member Functions | |
BOOST_UBLAS_INLINE | coordinate_matrix () |
BOOST_UBLAS_INLINE | coordinate_matrix (size_type size1, size_type size2, array_size_type non_zeros=0) |
BOOST_UBLAS_INLINE | coordinate_matrix (const coordinate_matrix &m) |
template<class AE > | |
BOOST_UBLAS_INLINE | coordinate_matrix (const matrix_expression< AE > &ae, array_size_type non_zeros=0) |
BOOST_UBLAS_INLINE size_type | size1 () const |
BOOST_UBLAS_INLINE size_type | size2 () const |
BOOST_UBLAS_INLINE size_type | nnz_capacity () const |
BOOST_UBLAS_INLINE size_type | nnz () const |
BOOST_UBLAS_INLINE array_size_type | filled () const |
BOOST_UBLAS_INLINE const index_array_type & | index1_data () const |
BOOST_UBLAS_INLINE const index_array_type & | index2_data () const |
BOOST_UBLAS_INLINE const value_array_type & | value_data () const |
BOOST_UBLAS_INLINE void | set_filled (const array_size_type &filled) |
BOOST_UBLAS_INLINE index_array_type & | index1_data () |
BOOST_UBLAS_INLINE index_array_type & | index2_data () |
BOOST_UBLAS_INLINE value_array_type & | value_data () |
BOOST_UBLAS_INLINE void | resize (size_type size1, size_type size2, bool preserve=true) |
BOOST_UBLAS_INLINE void | reserve (array_size_type non_zeros, bool preserve=true) |
BOOST_UBLAS_INLINE pointer | find_element (size_type i, size_type j) |
BOOST_UBLAS_INLINE const_pointer | find_element (size_type i, size_type j) const |
BOOST_UBLAS_INLINE const_reference | operator() (size_type i, size_type j) const |
BOOST_UBLAS_INLINE reference | operator() (size_type i, size_type j) |
BOOST_UBLAS_INLINE void | append_element (size_type i, size_type j, const_reference t) |
BOOST_UBLAS_INLINE true_reference | insert_element (size_type i, size_type j, const_reference t) |
BOOST_UBLAS_INLINE void | erase_element (size_type i, size_type j) |
BOOST_UBLAS_INLINE void | clear () |
BOOST_UBLAS_INLINE coordinate_matrix & | operator= (const coordinate_matrix &m) |
template<class C > | |
BOOST_UBLAS_INLINE coordinate_matrix & | operator= (const matrix_container< C > &m) |
BOOST_UBLAS_INLINE coordinate_matrix & | assign_temporary (coordinate_matrix &m) |
template<class AE > | |
BOOST_UBLAS_INLINE coordinate_matrix & | operator= (const matrix_expression< AE > &ae) |
template<class AE > | |
BOOST_UBLAS_INLINE coordinate_matrix & | assign (const matrix_expression< AE > &ae) |
template<class AE > | |
BOOST_UBLAS_INLINE coordinate_matrix & | operator+= (const matrix_expression< AE > &ae) |
template<class C > | |
BOOST_UBLAS_INLINE coordinate_matrix & | operator+= (const matrix_container< C > &m) |
template<class AE > | |
BOOST_UBLAS_INLINE coordinate_matrix & | plus_assign (const matrix_expression< AE > &ae) |
template<class AE > | |
BOOST_UBLAS_INLINE coordinate_matrix & | operator-= (const matrix_expression< AE > &ae) |
template<class C > | |
BOOST_UBLAS_INLINE coordinate_matrix & | operator-= (const matrix_container< C > &m) |
template<class AE > | |
BOOST_UBLAS_INLINE coordinate_matrix & | minus_assign (const matrix_expression< AE > &ae) |
template<class AT > | |
BOOST_UBLAS_INLINE coordinate_matrix & | operator*= (const AT &at) |
template<class AT > | |
BOOST_UBLAS_INLINE coordinate_matrix & | operator/= (const AT &at) |
BOOST_UBLAS_INLINE void | swap (coordinate_matrix &m) |
array_size_type | lower_bound (array_size_type beg, array_size_type end, array_size_type target) const |
void | inplace_merge (array_size_type beg, array_size_type mid, array_size_type end) const |
BOOST_UBLAS_INLINE void | sort () const |
BOOST_UBLAS_INLINE void | push_back (size_type i, size_type j, const_reference t) |
BOOST_UBLAS_INLINE void | pop_back () |
const_iterator1 | find1 (int rank, size_type i, size_type j, int direction=1) const |
iterator1 | find1 (int rank, size_type i, size_type j, int direction=1) |
const_iterator2 | find2 (int rank, size_type i, size_type j, int direction=1) const |
iterator2 | find2 (int rank, size_type i, size_type j, int direction=1) |
BOOST_UBLAS_INLINE const_iterator1 | begin1 () const |
BOOST_UBLAS_INLINE const_iterator1 | cbegin1 () const |
BOOST_UBLAS_INLINE const_iterator1 | end1 () const |
BOOST_UBLAS_INLINE const_iterator1 | cend1 () const |
BOOST_UBLAS_INLINE iterator1 | begin1 () |
BOOST_UBLAS_INLINE iterator1 | end1 () |
BOOST_UBLAS_INLINE const_iterator2 | begin2 () const |
BOOST_UBLAS_INLINE const_iterator2 | cbegin2 () const |
BOOST_UBLAS_INLINE const_iterator2 | end2 () const |
BOOST_UBLAS_INLINE const_iterator2 | cend2 () const |
BOOST_UBLAS_INLINE iterator2 | begin2 () |
BOOST_UBLAS_INLINE iterator2 | end2 () |
BOOST_UBLAS_INLINE const_reverse_iterator1 | rbegin1 () const |
BOOST_UBLAS_INLINE const_reverse_iterator1 | crbegin1 () const |
BOOST_UBLAS_INLINE const_reverse_iterator1 | rend1 () const |
BOOST_UBLAS_INLINE const_reverse_iterator1 | crend1 () const |
BOOST_UBLAS_INLINE reverse_iterator1 | rbegin1 () |
BOOST_UBLAS_INLINE reverse_iterator1 | rend1 () |
BOOST_UBLAS_INLINE const_reverse_iterator2 | rbegin2 () const |
BOOST_UBLAS_INLINE const_reverse_iterator2 | crbegin2 () const |
BOOST_UBLAS_INLINE const_reverse_iterator2 | rend2 () const |
BOOST_UBLAS_INLINE const_reverse_iterator2 | crend2 () const |
BOOST_UBLAS_INLINE reverse_iterator2 | rbegin2 () |
BOOST_UBLAS_INLINE reverse_iterator2 | rend2 () |
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 Member Functions | |
static BOOST_UBLAS_INLINE size_type | index_base () |
Static Public Attributes | |
static const unsigned | complexity |
Friends | |
class | iterator1 |
class | iterator2 |
class | const_iterator1 |
class | const_iterator2 |
BOOST_UBLAS_INLINE friend void | swap (coordinate_matrix &m1, coordinate_matrix &m2) |
typedef IA::size_type boost::numeric::ublas::coordinate_matrix< T, L, IB, IA, TA >::array_size_type |
typedef matrix_reference<self_type> boost::numeric::ublas::coordinate_matrix< T, L, IB, IA, TA >::closure_type |
typedef const matrix_reference<const self_type> boost::numeric::ublas::coordinate_matrix< T, L, IB, IA, TA >::const_closure_type |
typedef const T& boost::numeric::ublas::coordinate_matrix< T, L, IB, IA, TA >::const_reference |
typedef reverse_iterator_base1<const_iterator1> boost::numeric::ublas::coordinate_matrix< T, L, IB, IA, TA >::const_reverse_iterator1 |
typedef reverse_iterator_base2<const_iterator2> boost::numeric::ublas::coordinate_matrix< T, L, IB, IA, TA >::const_reverse_iterator2 |
|
inherited |
typedef std::ptrdiff_t boost::numeric::ublas::coordinate_matrix< T, L, IB, IA, TA >::difference_type |
|
inherited |
typedef IA boost::numeric::ublas::coordinate_matrix< T, L, IB, IA, TA >::index_array_type |
typedef self_type boost::numeric::ublas::coordinate_matrix< T, L, IB, IA, TA >::matrix_temporary_type |
typedef L::orientation_category boost::numeric::ublas::coordinate_matrix< T, L, IB, IA, TA >::orientation_category |
typedef T& boost::numeric::ublas::coordinate_matrix< T, L, IB, IA, TA >::reference |
typedef reverse_iterator_base1<iterator1> boost::numeric::ublas::coordinate_matrix< T, L, IB, IA, TA >::reverse_iterator1 |
typedef reverse_iterator_base2<iterator2> boost::numeric::ublas::coordinate_matrix< T, L, IB, IA, TA >::reverse_iterator2 |
typedef IA::value_type boost::numeric::ublas::coordinate_matrix< T, L, IB, IA, TA >::size_type |
typedef sparse_tag boost::numeric::ublas::coordinate_matrix< T, L, IB, IA, TA >::storage_category |
|
inherited |
typedef TA boost::numeric::ublas::coordinate_matrix< T, L, IB, IA, TA >::value_array_type |
typedef T boost::numeric::ublas::coordinate_matrix< T, L, IB, IA, TA >::value_type |
typedef coordinate_vector<T, IB, IA, TA> boost::numeric::ublas::coordinate_matrix< T, L, IB, IA, TA >::vector_temporary_type |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
References boost::numeric::ublas::coordinate_matrix< T, L, IB, IA, TA >::swap().
Referenced by boost::numeric::ublas::coordinate_matrix< T, L, IB, IA, TA >::operator+=(), boost::numeric::ublas::coordinate_matrix< T, L, IB, IA, TA >::operator-=(), and boost::numeric::ublas::coordinate_matrix< T, L, IB, IA, TA >::operator=().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
References boost::numeric::ublas::coordinate_matrix< T, L, IB, IA, TA >::const_iterator1, boost::multiprecision::backends::i, boost::it, boost::numeric::ublas::detail::lower_bound(), boost::numeric::ublas::coordinate_matrix< T, L, IB, IA, TA >::sort(), and boost::numeric::ublas::detail::upper_bound().
Referenced by boost::numeric::ublas::coordinate_matrix< T, L, IB, IA, TA >::begin1(), boost::numeric::ublas::coordinate_matrix< T, L, IB, IA, TA >::end1(), boost::numeric::ublas::coordinate_matrix< T, L, IB, IA, TA >::const_iterator1::index1(), boost::numeric::ublas::coordinate_matrix< T, L, IB, IA, TA >::iterator1::index1(), boost::numeric::ublas::coordinate_matrix< T, L, IB, IA, TA >::const_iterator1::operator++(), boost::numeric::ublas::coordinate_matrix< T, L, IB, IA, TA >::iterator1::operator++(), boost::numeric::ublas::coordinate_matrix< T, L, IB, IA, TA >::const_iterator1::operator--(), and boost::numeric::ublas::coordinate_matrix< T, L, IB, IA, TA >::iterator1::operator--().
|
inline |
|
inline |
References boost::numeric::ublas::coordinate_matrix< T, L, IB, IA, TA >::const_iterator2, boost::it, boost::numeric::ublas::detail::lower_bound(), boost::numeric::ublas::coordinate_matrix< T, L, IB, IA, TA >::sort(), and boost::numeric::ublas::detail::upper_bound().
Referenced by boost::numeric::ublas::coordinate_matrix< T, L, IB, IA, TA >::begin2(), boost::numeric::ublas::coordinate_matrix< T, L, IB, IA, TA >::end2(), boost::numeric::ublas::coordinate_matrix< T, L, IB, IA, TA >::const_iterator2::index2(), boost::numeric::ublas::coordinate_matrix< T, L, IB, IA, TA >::iterator2::index2(), boost::numeric::ublas::coordinate_matrix< T, L, IB, IA, TA >::const_iterator2::operator++(), boost::numeric::ublas::coordinate_matrix< T, L, IB, IA, TA >::iterator2::operator++(), boost::numeric::ublas::coordinate_matrix< T, L, IB, IA, TA >::const_iterator2::operator--(), and boost::numeric::ublas::coordinate_matrix< T, L, IB, IA, TA >::iterator2::operator--().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
inline |
|
inline |
|
inline |
References boost::numeric::ublas::end().
Referenced by boost::numeric::ublas::coordinate_matrix< T, L, IB, IA, TA >::inplace_merge().
|
inline |
|
inline |
|
inline |
|
inlineinherited |
|
inlineinherited |
|
inline |
|
inline |
|
inline |
References boost::xpressive::at.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
References boost::xpressive::at.
|
inline |
References BOOST_UBLAS_CHECK.
|
inline |
References boost::numeric::ublas::coordinate_matrix< T, L, IB, IA, TA >::assign(), boost::numeric::ublas::coordinate_matrix< T, L, IB, IA, TA >::resize(), boost::numeric::ublas::coordinate_matrix< T, L, IB, IA, TA >::size1(), and boost::numeric::ublas::coordinate_matrix< T, L, IB, IA, TA >::size2().
|
inline |
|
inline |
|
inline |
References BOOST_UBLAS_CHECK, and boost::accumulators::extract::min.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Referenced by boost::numeric::ublas::axpy_prod(), boost::numeric::ublas::coordinate_matrix< T, L, IB, IA, TA >::const_iterator1::index1(), boost::numeric::ublas::coordinate_matrix< T, L, IB, IA, TA >::iterator1::index1(), boost::numeric::ublas::coordinate_matrix< T, L, IB, IA, TA >::const_iterator2::index1(), boost::numeric::ublas::coordinate_matrix< T, L, IB, IA, TA >::iterator2::index1(), boost::numeric::ublas::coordinate_matrix< T, L, IB, IA, TA >::const_iterator1::operator*(), boost::numeric::ublas::coordinate_matrix< T, L, IB, IA, TA >::iterator1::operator*(), boost::numeric::ublas::coordinate_matrix< T, L, IB, IA, TA >::const_iterator2::operator*(), boost::numeric::ublas::coordinate_matrix< T, L, IB, IA, TA >::iterator2::operator*(), boost::numeric::ublas::coordinate_matrix< T, L, IB, IA, TA >::operator=(), and boost::numeric::ublas::coordinate_matrix< T, L, IB, IA, TA >::resize().
|
inline |
Referenced by boost::numeric::ublas::axpy_prod(), boost::numeric::ublas::coordinate_matrix< T, L, IB, IA, TA >::const_iterator1::index2(), boost::numeric::ublas::coordinate_matrix< T, L, IB, IA, TA >::iterator1::index2(), boost::numeric::ublas::coordinate_matrix< T, L, IB, IA, TA >::const_iterator2::index2(), boost::numeric::ublas::coordinate_matrix< T, L, IB, IA, TA >::iterator2::index2(), boost::numeric::ublas::coordinate_matrix< T, L, IB, IA, TA >::const_iterator1::operator*(), boost::numeric::ublas::coordinate_matrix< T, L, IB, IA, TA >::iterator1::operator*(), boost::numeric::ublas::coordinate_matrix< T, L, IB, IA, TA >::const_iterator2::operator*(), boost::numeric::ublas::coordinate_matrix< T, L, IB, IA, TA >::iterator2::operator*(), boost::numeric::ublas::coordinate_matrix< T, L, IB, IA, TA >::operator=(), and boost::numeric::ublas::coordinate_matrix< T, L, IB, IA, TA >::resize().
|
inline |
References boost::numeric::ublas::coordinate_matrix< T, L, IB, IA, TA >::filled(), boost::multiprecision::backends::i, and boost::numeric::ublas::coordinate_matrix< T, L, IB, IA, TA >::inplace_merge().
Referenced by boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >::compressed_matrix(), boost::numeric::ublas::coordinate_matrix< T, L, IB, IA, TA >::erase_element(), boost::numeric::ublas::coordinate_matrix< T, L, IB, IA, TA >::find1(), boost::numeric::ublas::coordinate_matrix< T, L, IB, IA, TA >::find2(), boost::numeric::ublas::coordinate_matrix< T, L, IB, IA, TA >::find_element(), and boost::numeric::ublas::coordinate_matrix< T, L, IB, IA, TA >::reserve().
|
inline |
References boost::swap.
Referenced by boost::numeric::ublas::coordinate_matrix< T, L, IB, IA, TA >::assign_temporary().
|
inline |
|
inline |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
staticinherited |