Boost.uBlas 1.49
Linear Algebra in C++: matrices, vectors and numeric algorithms

boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA > Class Template Reference

#include <matrix_sparse.hpp>

Inheritance diagram for boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >:
Collaboration diagram for boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >:

List of all members.

Classes

class  const_iterator1
class  const_iterator2
class  iterator1
class  iterator2

Public Types

typedef IA::size_type array_size_type
typedef matrix_reference
< self_type
closure_type
typedef const matrix_reference
< const self_type
const_closure_type
typedef const T & const_reference
typedef reverse_iterator_base1
< const_iterator1
const_reverse_iterator1
typedef reverse_iterator_base2
< const_iterator2
const_reverse_iterator2
typedef compressed_matrix< T,
L, IB, IA, TA > 
container_type
typedef IA::difference_type difference_type
typedef compressed_matrix< T,
L, IB, IA, TA > 
expression_type
typedef IA index_array_type
typedef self_type matrix_temporary_type
typedef L::orientation_category orientation_category
typedef T & reference
typedef reverse_iterator_base1
< iterator1
reverse_iterator1
typedef reverse_iterator_base2
< iterator2
reverse_iterator2
typedef IA::value_type size_type
typedef sparse_tag storage_category
typedef matrix_tag type_category
typedef TA value_array_type
typedef T value_type
typedef compressed_vector< T,
IB, IA, TA > 
vector_temporary_type

Public Member Functions

BOOST_UBLAS_INLINE compressed_matrix ()
BOOST_UBLAS_INLINE compressed_matrix (size_type size1, size_type size2, size_type non_zeros=0)
BOOST_UBLAS_INLINE compressed_matrix (const coordinate_matrix< T, L, IB, IA, TA > &m)
template<class AE >
BOOST_UBLAS_INLINE compressed_matrix (const matrix_expression< AE > &ae, size_type non_zeros=0)
BOOST_UBLAS_INLINE compressed_matrix (const compressed_matrix &m)
template<class AE >
BOOST_UBLAS_INLINE
compressed_matrix
assign (const matrix_expression< AE > &ae)
BOOST_UBLAS_INLINE
compressed_matrix
assign_temporary (compressed_matrix &m)
BOOST_UBLAS_INLINE const_iterator1 begin1 () const
BOOST_UBLAS_INLINE iterator1 begin1 ()
BOOST_UBLAS_INLINE const_iterator2 begin2 () const
BOOST_UBLAS_INLINE iterator2 begin2 ()
BOOST_UBLAS_INLINE void clear ()
BOOST_UBLAS_INLINE void complete_index1_data ()
BOOST_UBLAS_INLINE const_iterator1 end1 () const
BOOST_UBLAS_INLINE iterator1 end1 ()
BOOST_UBLAS_INLINE const_iterator2 end2 () const
BOOST_UBLAS_INLINE iterator2 end2 ()
BOOST_UBLAS_INLINE void erase_element (size_type i, size_type j)
BOOST_UBLAS_INLINE array_size_type filled1 () const
BOOST_UBLAS_INLINE array_size_type filled2 () const
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 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
index_array_type
index1_data ()
BOOST_UBLAS_INLINE const
index_array_type
index1_data () const
BOOST_UBLAS_INLINE
index_array_type
index2_data ()
BOOST_UBLAS_INLINE const
index_array_type
index2_data () const
BOOST_UBLAS_INLINE true_reference insert_element (size_type i, size_type j, const_reference t)
template<class AE >
BOOST_UBLAS_INLINE
compressed_matrix
minus_assign (const matrix_expression< AE > &ae)
BOOST_UBLAS_INLINE size_type nnz () const
BOOST_UBLAS_INLINE size_type nnz_capacity () const
BOOST_UBLAS_INLINE container_typeoperator() ()
BOOST_UBLAS_INLINE const
container_type
operator() () 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)
template<class AT >
BOOST_UBLAS_INLINE
compressed_matrix
operator*= (const AT &at)
template<class AE >
BOOST_UBLAS_INLINE
compressed_matrix
operator+= (const matrix_expression< AE > &ae)
template<class C >
BOOST_UBLAS_INLINE
compressed_matrix
operator+= (const matrix_container< C > &m)
template<class AE >
BOOST_UBLAS_INLINE
compressed_matrix
operator-= (const matrix_expression< AE > &ae)
template<class C >
BOOST_UBLAS_INLINE
compressed_matrix
operator-= (const matrix_container< C > &m)
template<class AT >
BOOST_UBLAS_INLINE
compressed_matrix
operator/= (const AT &at)
template<class AE >
BOOST_UBLAS_INLINE
compressed_matrix
operator= (const matrix_expression< AE > &ae)
BOOST_UBLAS_INLINE
compressed_matrix
operator= (const compressed_matrix &m)
template<class C >
BOOST_UBLAS_INLINE
compressed_matrix
operator= (const matrix_container< C > &m)
template<class AE >
BOOST_UBLAS_INLINE
compressed_matrix
plus_assign (const matrix_expression< AE > &ae)
BOOST_UBLAS_INLINE void pop_back ()
BOOST_UBLAS_INLINE void push_back (size_type i, size_type j, const_reference t)
BOOST_UBLAS_INLINE
reverse_iterator1 
rbegin1 ()
BOOST_UBLAS_INLINE
const_reverse_iterator1 
rbegin1 () const
BOOST_UBLAS_INLINE
const_reverse_iterator2 
rbegin2 () const
BOOST_UBLAS_INLINE
reverse_iterator2 
rbegin2 ()
BOOST_UBLAS_INLINE
const_reverse_iterator1 
rend1 () const
BOOST_UBLAS_INLINE
reverse_iterator1 
rend1 ()
BOOST_UBLAS_INLINE
reverse_iterator2 
rend2 ()
BOOST_UBLAS_INLINE
const_reverse_iterator2 
rend2 () const
BOOST_UBLAS_INLINE void reserve (size_type non_zeros, bool preserve=true)
BOOST_UBLAS_INLINE void resize (size_type size1, size_type size2, bool preserve=true)
template<class Archive >
void serialize (Archive &ar, const unsigned int)
BOOST_UBLAS_INLINE void set_filled (const array_size_type &filled1, const array_size_type &filled2)
BOOST_UBLAS_INLINE size_type size1 () const
BOOST_UBLAS_INLINE size_type size2 () const
BOOST_UBLAS_INLINE void swap (compressed_matrix &m)
BOOST_UBLAS_INLINE const
value_array_type
value_data () const
BOOST_UBLAS_INLINE
value_array_type
value_data ()

Static Public Member Functions

static BOOST_UBLAS_INLINE size_type index_base ()

Static Public Attributes

static const unsigned complexity

Private Types

typedef const T * const_pointer
typedef IA::const_iterator const_subiterator_type
typedef L layout_type
typedef T * pointer
typedef compressed_matrix< T,
L, IB, IA, TA > 
self_type
typedef IA::iterator subiterator_type
typedef T & true_reference
typedef IA::const_iterator vector_const_subiterator_type
typedef IA::iterator vector_subiterator_type

Private Member Functions

BOOST_UBLAS_INLINE true_reference at_element (size_type i, size_type j)
BOOST_UBLAS_INLINE size_type restrict_capacity (size_type non_zeros) const
void storage_invariants () const

Static Private Member Functions

static BOOST_UBLAS_INLINE size_type k_based (size_type zero_based_index)
static BOOST_UBLAS_INLINE size_type zero_based (size_type k_based_index)

Private Attributes

array_size_type capacity_
array_size_type filled1_
array_size_type filled2_
index_array_type index1_data_
index_array_type index2_data_
size_type size1_
size_type size2_
value_array_type value_data_

Static Private Attributes

static const value_type zero_ = value_type()

Friends

class const_iterator1
class const_iterator2
class iterator1
class iterator2
BOOST_UBLAS_INLINE friend void swap (compressed_matrix &m1, compressed_matrix &m2)

Detailed Description

template<class T, class L, std::size_t IB, class IA, class TA>
class boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >

Definition at line 2623 of file matrix_sparse.hpp.


Member Typedef Documentation

template<class T, class L, std::size_t IB, class IA, class TA>
typedef T& boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >::true_reference [private]

Definition at line 2626 of file matrix_sparse.hpp.

template<class T, class L, std::size_t IB, class IA, class TA>
typedef T* boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >::pointer [private]

Definition at line 2627 of file matrix_sparse.hpp.

template<class T, class L, std::size_t IB, class IA, class TA>
typedef const T* boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >::const_pointer [private]

Definition at line 2628 of file matrix_sparse.hpp.

template<class T, class L, std::size_t IB, class IA, class TA>
typedef L boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >::layout_type [private]

Definition at line 2629 of file matrix_sparse.hpp.

template<class T, class L, std::size_t IB, class IA, class TA>
typedef compressed_matrix<T, L, IB, IA, TA> boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >::self_type [private]
template<class T, class L, std::size_t IB, class IA, class TA>
typedef IA::value_type boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >::size_type

Definition at line 2637 of file matrix_sparse.hpp.

template<class T, class L, std::size_t IB, class IA, class TA>
typedef IA::size_type boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >::array_size_type

Definition at line 2639 of file matrix_sparse.hpp.

template<class T, class L, std::size_t IB, class IA, class TA>
typedef IA::difference_type boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >::difference_type

Definition at line 2641 of file matrix_sparse.hpp.

template<class T, class L, std::size_t IB, class IA, class TA>
typedef T boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >::value_type

Definition at line 2642 of file matrix_sparse.hpp.

template<class T, class L, std::size_t IB, class IA, class TA>
typedef const T& boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >::const_reference

Definition at line 2643 of file matrix_sparse.hpp.

template<class T, class L, std::size_t IB, class IA, class TA>
typedef T& boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >::reference

Definition at line 2645 of file matrix_sparse.hpp.

template<class T, class L, std::size_t IB, class IA, class TA>
typedef IA boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >::index_array_type

Definition at line 2649 of file matrix_sparse.hpp.

template<class T, class L, std::size_t IB, class IA, class TA>
typedef TA boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >::value_array_type

Definition at line 2650 of file matrix_sparse.hpp.

template<class T, class L, std::size_t IB, class IA, class TA>
typedef const matrix_reference<const self_type> boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >::const_closure_type

Definition at line 2651 of file matrix_sparse.hpp.

template<class T, class L, std::size_t IB, class IA, class TA>
typedef matrix_reference<self_type> boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >::closure_type

Definition at line 2652 of file matrix_sparse.hpp.

template<class T, class L, std::size_t IB, class IA, class TA>
typedef compressed_vector<T, IB, IA, TA> boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >::vector_temporary_type

Definition at line 2653 of file matrix_sparse.hpp.

template<class T, class L, std::size_t IB, class IA, class TA>
typedef self_type boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >::matrix_temporary_type

Definition at line 2654 of file matrix_sparse.hpp.

template<class T, class L, std::size_t IB, class IA, class TA>
typedef sparse_tag boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >::storage_category

Definition at line 2655 of file matrix_sparse.hpp.

template<class T, class L, std::size_t IB, class IA, class TA>
typedef L::orientation_category boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >::orientation_category

Definition at line 2656 of file matrix_sparse.hpp.

template<class T, class L, std::size_t IB, class IA, class TA>
typedef IA::const_iterator boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >::vector_const_subiterator_type [private]

Definition at line 3101 of file matrix_sparse.hpp.

template<class T, class L, std::size_t IB, class IA, class TA>
typedef IA::iterator boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >::vector_subiterator_type [private]

Definition at line 3102 of file matrix_sparse.hpp.

template<class T, class L, std::size_t IB, class IA, class TA>
typedef IA::const_iterator boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >::const_subiterator_type [private]

Definition at line 3103 of file matrix_sparse.hpp.

template<class T, class L, std::size_t IB, class IA, class TA>
typedef IA::iterator boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >::subiterator_type [private]

Definition at line 3104 of file matrix_sparse.hpp.

template<class T, class L, std::size_t IB, class IA, class TA>
typedef reverse_iterator_base1<const_iterator1> boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >::const_reverse_iterator1

Definition at line 3117 of file matrix_sparse.hpp.

template<class T, class L, std::size_t IB, class IA, class TA>
typedef reverse_iterator_base1<iterator1> boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >::reverse_iterator1

Definition at line 3119 of file matrix_sparse.hpp.

template<class T, class L, std::size_t IB, class IA, class TA>
typedef reverse_iterator_base2<const_iterator2> boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >::const_reverse_iterator2

Definition at line 3120 of file matrix_sparse.hpp.

template<class T, class L, std::size_t IB, class IA, class TA>
typedef reverse_iterator_base2<iterator2> boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >::reverse_iterator2

Definition at line 3121 of file matrix_sparse.hpp.

typedef compressed_matrix< T, L, IB, IA, TA > boost::numeric::ublas::matrix_container< compressed_matrix< T, L, IB, IA, TA > >::container_type [inherited]

Definition at line 488 of file expression_types.hpp.


Constructor & Destructor Documentation

template<class T, class L, std::size_t IB, class IA, class TA>
BOOST_UBLAS_INLINE boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >::compressed_matrix ( ) [inline]

Definition at line 2660 of file matrix_sparse.hpp.

template<class T, class L, std::size_t IB, class IA, class TA>
BOOST_UBLAS_INLINE boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >::compressed_matrix ( size_type  size1,
size_type  size2,
size_type  non_zeros = 0 
) [inline]

Definition at line 2669 of file matrix_sparse.hpp.

template<class T, class L, std::size_t IB, class IA, class TA>
BOOST_UBLAS_INLINE boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >::compressed_matrix ( const compressed_matrix< T, L, IB, IA, TA > &  m) [inline]

Definition at line 2678 of file matrix_sparse.hpp.

template<class T, class L, std::size_t IB, class IA, class TA>
BOOST_UBLAS_INLINE boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >::compressed_matrix ( const coordinate_matrix< T, L, IB, IA, TA > &  m) [inline]

Definition at line 2687 of file matrix_sparse.hpp.

template<class T, class L, std::size_t IB, class IA, class TA>
template<class AE >
BOOST_UBLAS_INLINE boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >::compressed_matrix ( const matrix_expression< AE > &  ae,
size_type  non_zeros = 0 
) [inline]

Definition at line 2712 of file matrix_sparse.hpp.


Member Function Documentation

template<class T, class L, std::size_t IB, class IA, class TA>
BOOST_UBLAS_INLINE size_type boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >::size1 ( ) const [inline]

Definition at line 2725 of file matrix_sparse.hpp.

template<class T, class L, std::size_t IB, class IA, class TA>
BOOST_UBLAS_INLINE size_type boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >::size2 ( ) const [inline]

Definition at line 2729 of file matrix_sparse.hpp.

template<class T, class L, std::size_t IB, class IA, class TA>
BOOST_UBLAS_INLINE size_type boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >::nnz_capacity ( ) const [inline]

Definition at line 2733 of file matrix_sparse.hpp.

template<class T, class L, std::size_t IB, class IA, class TA>
BOOST_UBLAS_INLINE size_type boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >::nnz ( ) const [inline]

Definition at line 2737 of file matrix_sparse.hpp.

template<class T, class L, std::size_t IB, class IA, class TA>
static BOOST_UBLAS_INLINE size_type boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >::index_base ( ) [inline, static]

Definition at line 2743 of file matrix_sparse.hpp.

template<class T, class L, std::size_t IB, class IA, class TA>
BOOST_UBLAS_INLINE array_size_type boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >::filled1 ( ) const [inline]

Definition at line 2747 of file matrix_sparse.hpp.

template<class T, class L, std::size_t IB, class IA, class TA>
BOOST_UBLAS_INLINE array_size_type boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >::filled2 ( ) const [inline]

Definition at line 2751 of file matrix_sparse.hpp.

template<class T, class L, std::size_t IB, class IA, class TA>
BOOST_UBLAS_INLINE const index_array_type& boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >::index1_data ( ) const [inline]

Definition at line 2755 of file matrix_sparse.hpp.

template<class T, class L, std::size_t IB, class IA, class TA>
BOOST_UBLAS_INLINE const index_array_type& boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >::index2_data ( ) const [inline]

Definition at line 2759 of file matrix_sparse.hpp.

template<class T, class L, std::size_t IB, class IA, class TA>
BOOST_UBLAS_INLINE const value_array_type& boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >::value_data ( ) const [inline]

Definition at line 2763 of file matrix_sparse.hpp.

template<class T, class L, std::size_t IB, class IA, class TA>
BOOST_UBLAS_INLINE void boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >::set_filled ( const array_size_type filled1,
const array_size_type filled2 
) [inline]

Definition at line 2767 of file matrix_sparse.hpp.

template<class T, class L, std::size_t IB, class IA, class TA>
BOOST_UBLAS_INLINE index_array_type& boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >::index1_data ( ) [inline]

Definition at line 2773 of file matrix_sparse.hpp.

template<class T, class L, std::size_t IB, class IA, class TA>
BOOST_UBLAS_INLINE index_array_type& boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >::index2_data ( ) [inline]

Definition at line 2777 of file matrix_sparse.hpp.

template<class T, class L, std::size_t IB, class IA, class TA>
BOOST_UBLAS_INLINE value_array_type& boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >::value_data ( ) [inline]

Definition at line 2781 of file matrix_sparse.hpp.

template<class T, class L, std::size_t IB, class IA, class TA>
BOOST_UBLAS_INLINE void boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >::complete_index1_data ( ) [inline]

Definition at line 2785 of file matrix_sparse.hpp.

template<class T, class L, std::size_t IB, class IA, class TA>
BOOST_UBLAS_INLINE size_type boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >::restrict_capacity ( size_type  non_zeros) const [inline, private]

Definition at line 2795 of file matrix_sparse.hpp.

template<class T, class L, std::size_t IB, class IA, class TA>
BOOST_UBLAS_INLINE void boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >::resize ( size_type  size1,
size_type  size2,
bool  preserve = true 
) [inline]

Definition at line 2805 of file matrix_sparse.hpp.

template<class T, class L, std::size_t IB, class IA, class TA>
BOOST_UBLAS_INLINE void boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >::reserve ( size_type  non_zeros,
bool  preserve = true 
) [inline]

Definition at line 2822 of file matrix_sparse.hpp.

template<class T, class L, std::size_t IB, class IA, class TA>
BOOST_UBLAS_INLINE pointer boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >::find_element ( size_type  i,
size_type  j 
) [inline]

Definition at line 2841 of file matrix_sparse.hpp.

template<class T, class L, std::size_t IB, class IA, class TA>
BOOST_UBLAS_INLINE const_pointer boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >::find_element ( size_type  i,
size_type  j 
) const [inline]

Definition at line 2845 of file matrix_sparse.hpp.

template<class T, class L, std::size_t IB, class IA, class TA>
BOOST_UBLAS_INLINE const_reference boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >::operator() ( size_type  i,
size_type  j 
) const [inline]

Definition at line 2861 of file matrix_sparse.hpp.

template<class T, class L, std::size_t IB, class IA, class TA>
BOOST_UBLAS_INLINE reference boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >::operator() ( size_type  i,
size_type  j 
) [inline]

Definition at line 2869 of file matrix_sparse.hpp.

template<class T, class L, std::size_t IB, class IA, class TA>
BOOST_UBLAS_INLINE true_reference boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >::insert_element ( size_type  i,
size_type  j,
const_reference  t 
) [inline]

Definition at line 2887 of file matrix_sparse.hpp.

template<class T, class L, std::size_t IB, class IA, class TA>
BOOST_UBLAS_INLINE void boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >::erase_element ( size_type  i,
size_type  j 
) [inline]

Definition at line 2919 of file matrix_sparse.hpp.

template<class T, class L, std::size_t IB, class IA, class TA>
BOOST_UBLAS_INLINE void boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >::clear ( ) [inline]

Definition at line 2948 of file matrix_sparse.hpp.

template<class T, class L, std::size_t IB, class IA, class TA>
BOOST_UBLAS_INLINE compressed_matrix& boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >::operator= ( const compressed_matrix< T, L, IB, IA, TA > &  m) [inline]

Definition at line 2957 of file matrix_sparse.hpp.

template<class T, class L, std::size_t IB, class IA, class TA>
template<class C >
BOOST_UBLAS_INLINE compressed_matrix& boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >::operator= ( const matrix_container< C > &  m) [inline]

Definition at line 2973 of file matrix_sparse.hpp.

template<class T, class L, std::size_t IB, class IA, class TA>
BOOST_UBLAS_INLINE compressed_matrix& boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >::assign_temporary ( compressed_matrix< T, L, IB, IA, TA > &  m) [inline]

Definition at line 2979 of file matrix_sparse.hpp.

template<class T, class L, std::size_t IB, class IA, class TA>
template<class AE >
BOOST_UBLAS_INLINE compressed_matrix& boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >::operator= ( const matrix_expression< AE > &  ae) [inline]

Definition at line 2985 of file matrix_sparse.hpp.

template<class T, class L, std::size_t IB, class IA, class TA>
template<class AE >
BOOST_UBLAS_INLINE compressed_matrix& boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >::assign ( const matrix_expression< AE > &  ae) [inline]

Definition at line 2991 of file matrix_sparse.hpp.

template<class T, class L, std::size_t IB, class IA, class TA>
template<class AE >
BOOST_UBLAS_INLINE compressed_matrix& boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >::operator+= ( const matrix_expression< AE > &  ae) [inline]

Definition at line 2997 of file matrix_sparse.hpp.

template<class T, class L, std::size_t IB, class IA, class TA>
template<class C >
BOOST_UBLAS_INLINE compressed_matrix& boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >::operator+= ( const matrix_container< C > &  m) [inline]

Definition at line 3003 of file matrix_sparse.hpp.

template<class T, class L, std::size_t IB, class IA, class TA>
template<class AE >
BOOST_UBLAS_INLINE compressed_matrix& boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >::plus_assign ( const matrix_expression< AE > &  ae) [inline]

Definition at line 3009 of file matrix_sparse.hpp.

template<class T, class L, std::size_t IB, class IA, class TA>
template<class AE >
BOOST_UBLAS_INLINE compressed_matrix& boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >::operator-= ( const matrix_expression< AE > &  ae) [inline]

Definition at line 3015 of file matrix_sparse.hpp.

template<class T, class L, std::size_t IB, class IA, class TA>
template<class C >
BOOST_UBLAS_INLINE compressed_matrix& boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >::operator-= ( const matrix_container< C > &  m) [inline]

Definition at line 3021 of file matrix_sparse.hpp.

template<class T, class L, std::size_t IB, class IA, class TA>
template<class AE >
BOOST_UBLAS_INLINE compressed_matrix& boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >::minus_assign ( const matrix_expression< AE > &  ae) [inline]

Definition at line 3027 of file matrix_sparse.hpp.

template<class T, class L, std::size_t IB, class IA, class TA>
template<class AT >
BOOST_UBLAS_INLINE compressed_matrix& boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >::operator*= ( const AT &  at) [inline]

Definition at line 3033 of file matrix_sparse.hpp.

template<class T, class L, std::size_t IB, class IA, class TA>
template<class AT >
BOOST_UBLAS_INLINE compressed_matrix& boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >::operator/= ( const AT &  at) [inline]

Definition at line 3039 of file matrix_sparse.hpp.

template<class T, class L, std::size_t IB, class IA, class TA>
BOOST_UBLAS_INLINE void boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >::swap ( compressed_matrix< T, L, IB, IA, TA > &  m) [inline]

Definition at line 3046 of file matrix_sparse.hpp.

template<class T, class L, std::size_t IB, class IA, class TA>
BOOST_UBLAS_INLINE void boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >::push_back ( size_type  i,
size_type  j,
const_reference  t 
) [inline]

Definition at line 3066 of file matrix_sparse.hpp.

template<class T, class L, std::size_t IB, class IA, class TA>
BOOST_UBLAS_INLINE void boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >::pop_back ( ) [inline]

Definition at line 3087 of file matrix_sparse.hpp.

template<class T, class L, std::size_t IB, class IA, class TA>
BOOST_UBLAS_INLINE true_reference boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >::at_element ( size_type  i,
size_type  j 
) [inline, private]

Definition at line 3107 of file matrix_sparse.hpp.

template<class T, class L, std::size_t IB, class IA, class TA>
const_iterator1 boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >::find1 ( int  rank,
size_type  i,
size_type  j,
int  direction = 1 
) const [inline]

Definition at line 3125 of file matrix_sparse.hpp.

template<class T, class L, std::size_t IB, class IA, class TA>
iterator1 boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >::find1 ( int  rank,
size_type  i,
size_type  j,
int  direction = 1 
) [inline]

Definition at line 3165 of file matrix_sparse.hpp.

template<class T, class L, std::size_t IB, class IA, class TA>
const_iterator2 boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >::find2 ( int  rank,
size_type  i,
size_type  j,
int  direction = 1 
) const [inline]

Definition at line 3205 of file matrix_sparse.hpp.

template<class T, class L, std::size_t IB, class IA, class TA>
iterator2 boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >::find2 ( int  rank,
size_type  i,
size_type  j,
int  direction = 1 
) [inline]

Definition at line 3245 of file matrix_sparse.hpp.

template<class T, class L, std::size_t IB, class IA, class TA>
BOOST_UBLAS_INLINE const_iterator1 boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >::begin1 ( ) const [inline]

Definition at line 3433 of file matrix_sparse.hpp.

template<class T, class L, std::size_t IB, class IA, class TA>
BOOST_UBLAS_INLINE const_iterator1 boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >::end1 ( ) const [inline]

Definition at line 3437 of file matrix_sparse.hpp.

template<class T, class L, std::size_t IB, class IA, class TA>
BOOST_UBLAS_INLINE iterator1 boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >::begin1 ( ) [inline]

Definition at line 3587 of file matrix_sparse.hpp.

template<class T, class L, std::size_t IB, class IA, class TA>
BOOST_UBLAS_INLINE iterator1 boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >::end1 ( ) [inline]

Definition at line 3591 of file matrix_sparse.hpp.

template<class T, class L, std::size_t IB, class IA, class TA>
BOOST_UBLAS_INLINE const_iterator2 boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >::begin2 ( ) const [inline]

Definition at line 3742 of file matrix_sparse.hpp.

template<class T, class L, std::size_t IB, class IA, class TA>
BOOST_UBLAS_INLINE const_iterator2 boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >::end2 ( ) const [inline]

Definition at line 3746 of file matrix_sparse.hpp.

template<class T, class L, std::size_t IB, class IA, class TA>
BOOST_UBLAS_INLINE iterator2 boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >::begin2 ( ) [inline]

Definition at line 3896 of file matrix_sparse.hpp.

template<class T, class L, std::size_t IB, class IA, class TA>
BOOST_UBLAS_INLINE iterator2 boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >::end2 ( ) [inline]

Definition at line 3900 of file matrix_sparse.hpp.

template<class T, class L, std::size_t IB, class IA, class TA>
BOOST_UBLAS_INLINE const_reverse_iterator1 boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >::rbegin1 ( ) const [inline]

Definition at line 3907 of file matrix_sparse.hpp.

template<class T, class L, std::size_t IB, class IA, class TA>
BOOST_UBLAS_INLINE const_reverse_iterator1 boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >::rend1 ( ) const [inline]

Definition at line 3911 of file matrix_sparse.hpp.

template<class T, class L, std::size_t IB, class IA, class TA>
BOOST_UBLAS_INLINE reverse_iterator1 boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >::rbegin1 ( ) [inline]

Definition at line 3916 of file matrix_sparse.hpp.

template<class T, class L, std::size_t IB, class IA, class TA>
BOOST_UBLAS_INLINE reverse_iterator1 boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >::rend1 ( ) [inline]

Definition at line 3920 of file matrix_sparse.hpp.

template<class T, class L, std::size_t IB, class IA, class TA>
BOOST_UBLAS_INLINE const_reverse_iterator2 boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >::rbegin2 ( ) const [inline]

Definition at line 3925 of file matrix_sparse.hpp.

template<class T, class L, std::size_t IB, class IA, class TA>
BOOST_UBLAS_INLINE const_reverse_iterator2 boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >::rend2 ( ) const [inline]

Definition at line 3929 of file matrix_sparse.hpp.

template<class T, class L, std::size_t IB, class IA, class TA>
BOOST_UBLAS_INLINE reverse_iterator2 boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >::rbegin2 ( ) [inline]

Definition at line 3934 of file matrix_sparse.hpp.

template<class T, class L, std::size_t IB, class IA, class TA>
BOOST_UBLAS_INLINE reverse_iterator2 boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >::rend2 ( ) [inline]

Definition at line 3938 of file matrix_sparse.hpp.

template<class T, class L, std::size_t IB, class IA, class TA>
template<class Archive >
void boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >::serialize ( Archive &  ar,
const unsigned  int 
) [inline]

Definition at line 3944 of file matrix_sparse.hpp.

template<class T, class L, std::size_t IB, class IA, class TA>
void boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >::storage_invariants ( ) const [inline, private]

Definition at line 3963 of file matrix_sparse.hpp.

template<class T, class L, std::size_t IB, class IA, class TA>
static BOOST_UBLAS_INLINE size_type boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >::zero_based ( size_type  k_based_index) [inline, static, private]

Definition at line 3983 of file matrix_sparse.hpp.

template<class T, class L, std::size_t IB, class IA, class TA>
static BOOST_UBLAS_INLINE size_type boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >::k_based ( size_type  zero_based_index) [inline, static, private]

Definition at line 3987 of file matrix_sparse.hpp.

BOOST_UBLAS_INLINE const container_type& boost::numeric::ublas::matrix_container< compressed_matrix< T, L, IB, IA, TA > >::operator() ( ) const [inline, inherited]
BOOST_UBLAS_INLINE container_type& boost::numeric::ublas::matrix_container< compressed_matrix< T, L, IB, IA, TA > >::operator() ( ) [inline, inherited]

Friends And Related Function Documentation

template<class T, class L, std::size_t IB, class IA, class TA>
friend class iterator1 [friend]

Definition at line 3991 of file matrix_sparse.hpp.

template<class T, class L, std::size_t IB, class IA, class TA>
friend class iterator2 [friend]

Definition at line 3992 of file matrix_sparse.hpp.

template<class T, class L, std::size_t IB, class IA, class TA>
friend class const_iterator1 [friend]

Definition at line 3993 of file matrix_sparse.hpp.

template<class T, class L, std::size_t IB, class IA, class TA>
friend class const_iterator2 [friend]

Definition at line 3994 of file matrix_sparse.hpp.

template<class T, class L, std::size_t IB, class IA, class TA>
BOOST_UBLAS_INLINE friend void swap ( compressed_matrix< T, L, IB, IA, TA > &  m1,
compressed_matrix< T, L, IB, IA, TA > &  m2 
) [friend]

Definition at line 3060 of file matrix_sparse.hpp.


Member Data Documentation

template<class T, class L, std::size_t IB, class IA, class TA>
size_type boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >::size1_ [private]

Definition at line 3972 of file matrix_sparse.hpp.

template<class T, class L, std::size_t IB, class IA, class TA>
size_type boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >::size2_ [private]

Definition at line 3973 of file matrix_sparse.hpp.

template<class T, class L, std::size_t IB, class IA, class TA>
array_size_type boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >::capacity_ [private]

Definition at line 3974 of file matrix_sparse.hpp.

template<class T, class L, std::size_t IB, class IA, class TA>
array_size_type boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >::filled1_ [private]

Definition at line 3975 of file matrix_sparse.hpp.

template<class T, class L, std::size_t IB, class IA, class TA>
array_size_type boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >::filled2_ [private]

Definition at line 3976 of file matrix_sparse.hpp.

template<class T, class L, std::size_t IB, class IA, class TA>
index_array_type boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >::index1_data_ [private]

Definition at line 3977 of file matrix_sparse.hpp.

template<class T, class L, std::size_t IB, class IA, class TA>
index_array_type boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >::index2_data_ [private]

Definition at line 3978 of file matrix_sparse.hpp.

template<class T, class L, std::size_t IB, class IA, class TA>
value_array_type boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >::value_data_ [private]

Definition at line 3979 of file matrix_sparse.hpp.

template<class T, class L, std::size_t IB, class IA, class TA>
const compressed_matrix< T, L, IB, IA, TA >::value_type boost::numeric::ublas::compressed_matrix< T, L, IB, IA, TA >::zero_ = value_type() [static, private]

Definition at line 3980 of file matrix_sparse.hpp.

const unsigned boost::numeric::ublas::matrix_container< compressed_matrix< T, L, IB, IA, TA > >::complexity [static, inherited]

The documentation for this class was generated from the following file: