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

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

#include <matrix_sparse.hpp>

Inheritance diagram for boost::numeric::ublas::coordinate_matrix< T, L, IB, IA, TA >:
Collaboration diagram for boost::numeric::ublas::coordinate_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 coordinate_matrix< T,
L, IB, IA, TA > 
container_type
typedef std::ptrdiff_t difference_type
typedef coordinate_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 coordinate_vector< T,
IB, IA, TA > 
vector_temporary_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)
template<class AE >
BOOST_UBLAS_INLINE coordinate_matrix (const matrix_expression< AE > &ae, array_size_type non_zeros=0)
BOOST_UBLAS_INLINE coordinate_matrix (const coordinate_matrix &m)
BOOST_UBLAS_INLINE void append_element (size_type i, size_type j, const_reference t)
template<class AE >
BOOST_UBLAS_INLINE
coordinate_matrix
assign (const matrix_expression< AE > &ae)
BOOST_UBLAS_INLINE
coordinate_matrix
assign_temporary (coordinate_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 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 filled () 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 const
index_array_type
index1_data () const
BOOST_UBLAS_INLINE
index_array_type
index1_data ()
BOOST_UBLAS_INLINE const
index_array_type
index2_data () const
BOOST_UBLAS_INLINE
index_array_type
index2_data ()
BOOST_UBLAS_INLINE true_reference insert_element (size_type i, size_type j, const_reference t)
template<class AE >
BOOST_UBLAS_INLINE
coordinate_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 const
container_type
operator() () const
BOOST_UBLAS_INLINE container_typeoperator() ()
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
coordinate_matrix
operator*= (const AT &at)
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
operator-= (const matrix_expression< AE > &ae)
template<class C >
BOOST_UBLAS_INLINE
coordinate_matrix
operator-= (const matrix_container< C > &m)
template<class AT >
BOOST_UBLAS_INLINE
coordinate_matrix
operator/= (const AT &at)
BOOST_UBLAS_INLINE
coordinate_matrix
operator= (const coordinate_matrix &m)
template<class C >
BOOST_UBLAS_INLINE
coordinate_matrix
operator= (const matrix_container< C > &m)
template<class AE >
BOOST_UBLAS_INLINE
coordinate_matrix
operator= (const matrix_expression< AE > &ae)
template<class AE >
BOOST_UBLAS_INLINE
coordinate_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
const_reverse_iterator1 
rbegin1 () const
BOOST_UBLAS_INLINE
reverse_iterator1 
rbegin1 ()
BOOST_UBLAS_INLINE
reverse_iterator2 
rbegin2 ()
BOOST_UBLAS_INLINE
const_reverse_iterator2 
rbegin2 () const
BOOST_UBLAS_INLINE
reverse_iterator1 
rend1 ()
BOOST_UBLAS_INLINE
const_reverse_iterator1 
rend1 () const
BOOST_UBLAS_INLINE
const_reverse_iterator2 
rend2 () const
BOOST_UBLAS_INLINE
reverse_iterator2 
rend2 ()
BOOST_UBLAS_INLINE void reserve (array_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 &filled)
BOOST_UBLAS_INLINE size_type size1 () const
BOOST_UBLAS_INLINE size_type size2 () const
BOOST_UBLAS_INLINE void sort () const
BOOST_UBLAS_INLINE void swap (coordinate_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 coordinate_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 array_size_type restrict_capacity (array_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 filled_
index_array_type index1_data_
index_array_type index2_data_
size_type size1_
size_type size2_
bool sorted_
array_size_type sorted_filled_
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 (coordinate_matrix &m1, coordinate_matrix &m2)

Detailed Description

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

Definition at line 4004 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::coordinate_matrix< T, L, IB, IA, TA >::true_reference [private]

Definition at line 4007 of file matrix_sparse.hpp.

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

Definition at line 4008 of file matrix_sparse.hpp.

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

Definition at line 4009 of file matrix_sparse.hpp.

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

Definition at line 4010 of file matrix_sparse.hpp.

template<class T, class L, std::size_t IB, class IA, class TA>
typedef coordinate_matrix<T, L, IB, IA, TA> boost::numeric::ublas::coordinate_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::coordinate_matrix< T, L, IB, IA, TA >::size_type

Definition at line 4017 of file matrix_sparse.hpp.

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

Definition at line 4019 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::coordinate_matrix< T, L, IB, IA, TA >::array_size_type

Definition at line 4021 of file matrix_sparse.hpp.

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

Definition at line 4022 of file matrix_sparse.hpp.

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

Definition at line 4023 of file matrix_sparse.hpp.

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

Definition at line 4025 of file matrix_sparse.hpp.

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

Definition at line 4029 of file matrix_sparse.hpp.

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

Definition at line 4030 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::coordinate_matrix< T, L, IB, IA, TA >::const_closure_type

Definition at line 4031 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::coordinate_matrix< T, L, IB, IA, TA >::closure_type

Definition at line 4032 of file matrix_sparse.hpp.

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

Definition at line 4033 of file matrix_sparse.hpp.

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

Definition at line 4034 of file matrix_sparse.hpp.

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

Definition at line 4035 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::coordinate_matrix< T, L, IB, IA, TA >::orientation_category

Definition at line 4036 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::coordinate_matrix< T, L, IB, IA, TA >::vector_const_subiterator_type [private]

Definition at line 4461 of file matrix_sparse.hpp.

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

Definition at line 4462 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::coordinate_matrix< T, L, IB, IA, TA >::const_subiterator_type [private]

Definition at line 4463 of file matrix_sparse.hpp.

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

Definition at line 4464 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::coordinate_matrix< T, L, IB, IA, TA >::const_reverse_iterator1

Definition at line 4477 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::coordinate_matrix< T, L, IB, IA, TA >::reverse_iterator1

Definition at line 4479 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::coordinate_matrix< T, L, IB, IA, TA >::const_reverse_iterator2

Definition at line 4480 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::coordinate_matrix< T, L, IB, IA, TA >::reverse_iterator2

Definition at line 4481 of file matrix_sparse.hpp.

typedef coordinate_matrix< T, L, IB, IA, TA > boost::numeric::ublas::matrix_container< coordinate_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::coordinate_matrix< T, L, IB, IA, TA >::coordinate_matrix ( ) [inline]

Definition at line 4040 of file matrix_sparse.hpp.

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

Definition at line 4048 of file matrix_sparse.hpp.

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

Definition at line 4056 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::coordinate_matrix< T, L, IB, IA, TA >::coordinate_matrix ( const matrix_expression< AE > &  ae,
array_size_type  non_zeros = 0 
) [inline]

Definition at line 4065 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::coordinate_matrix< T, L, IB, IA, TA >::size1 ( ) const [inline]

Definition at line 4076 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::coordinate_matrix< T, L, IB, IA, TA >::size2 ( ) const [inline]

Definition at line 4080 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::coordinate_matrix< T, L, IB, IA, TA >::nnz_capacity ( ) const [inline]

Definition at line 4084 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::coordinate_matrix< T, L, IB, IA, TA >::nnz ( ) const [inline]

Definition at line 4088 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::coordinate_matrix< T, L, IB, IA, TA >::index_base ( ) [inline, static]

Definition at line 4094 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::coordinate_matrix< T, L, IB, IA, TA >::filled ( ) const [inline]

Definition at line 4098 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::coordinate_matrix< T, L, IB, IA, TA >::index1_data ( ) const [inline]

Definition at line 4102 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::coordinate_matrix< T, L, IB, IA, TA >::index2_data ( ) const [inline]

Definition at line 4106 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::coordinate_matrix< T, L, IB, IA, TA >::value_data ( ) const [inline]

Definition at line 4110 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::coordinate_matrix< T, L, IB, IA, TA >::set_filled ( const array_size_type filled) [inline]

Definition at line 4114 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::coordinate_matrix< T, L, IB, IA, TA >::index1_data ( ) [inline]

Definition at line 4124 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::coordinate_matrix< T, L, IB, IA, TA >::index2_data ( ) [inline]

Definition at line 4128 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::coordinate_matrix< T, L, IB, IA, TA >::value_data ( ) [inline]

Definition at line 4132 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::coordinate_matrix< T, L, IB, IA, TA >::restrict_capacity ( array_size_type  non_zeros) const [inline, private]

Definition at line 4139 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::coordinate_matrix< T, L, IB, IA, TA >::resize ( size_type  size1,
size_type  size2,
bool  preserve = true 
) [inline]

Definition at line 4147 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::coordinate_matrix< T, L, IB, IA, TA >::reserve ( array_size_type  non_zeros,
bool  preserve = true 
) [inline]

Definition at line 4164 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::coordinate_matrix< T, L, IB, IA, TA >::find_element ( size_type  i,
size_type  j 
) [inline]

Definition at line 4185 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::coordinate_matrix< T, L, IB, IA, TA >::find_element ( size_type  i,
size_type  j 
) const [inline]

Definition at line 4189 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::coordinate_matrix< T, L, IB, IA, TA >::operator() ( size_type  i,
size_type  j 
) const [inline]

Definition at line 4207 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::coordinate_matrix< T, L, IB, IA, TA >::operator() ( size_type  i,
size_type  j 
) [inline]

Definition at line 4215 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::coordinate_matrix< T, L, IB, IA, TA >::append_element ( size_type  i,
size_type  j,
const_reference  t 
) [inline]

Definition at line 4229 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::coordinate_matrix< T, L, IB, IA, TA >::insert_element ( size_type  i,
size_type  j,
const_reference  t 
) [inline]

Definition at line 4243 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::coordinate_matrix< T, L, IB, IA, TA >::erase_element ( size_type  i,
size_type  j 
) [inline]

Definition at line 4249 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::coordinate_matrix< T, L, IB, IA, TA >::clear ( ) [inline]

Definition at line 4273 of file matrix_sparse.hpp.

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

Definition at line 4282 of file matrix_sparse.hpp.

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

Definition at line 4302 of file matrix_sparse.hpp.

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

Definition at line 4308 of file matrix_sparse.hpp.

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

Definition at line 4314 of file matrix_sparse.hpp.

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

Definition at line 4320 of file matrix_sparse.hpp.

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

Definition at line 4326 of file matrix_sparse.hpp.

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

Definition at line 4332 of file matrix_sparse.hpp.

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

Definition at line 4338 of file matrix_sparse.hpp.

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

Definition at line 4344 of file matrix_sparse.hpp.

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

Definition at line 4350 of file matrix_sparse.hpp.

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

Definition at line 4356 of file matrix_sparse.hpp.

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

Definition at line 4362 of file matrix_sparse.hpp.

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

Definition at line 4368 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::coordinate_matrix< T, L, IB, IA, TA >::swap ( coordinate_matrix< T, L, IB, IA, TA > &  m) [inline]

Definition at line 4375 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::coordinate_matrix< T, L, IB, IA, TA >::sort ( ) const [inline]

Definition at line 4396 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::coordinate_matrix< T, L, IB, IA, TA >::push_back ( size_type  i,
size_type  j,
const_reference  t 
) [inline]

Definition at line 4429 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::coordinate_matrix< T, L, IB, IA, TA >::pop_back ( ) [inline]

Definition at line 4449 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::coordinate_matrix< T, L, IB, IA, TA >::at_element ( size_type  i,
size_type  j 
) [inline, private]

Definition at line 4467 of file matrix_sparse.hpp.

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

Definition at line 4485 of file matrix_sparse.hpp.

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

Definition at line 4526 of file matrix_sparse.hpp.

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

Definition at line 4567 of file matrix_sparse.hpp.

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

Definition at line 4608 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::coordinate_matrix< T, L, IB, IA, TA >::begin1 ( ) const [inline]

Definition at line 4797 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::coordinate_matrix< T, L, IB, IA, TA >::end1 ( ) const [inline]

Definition at line 4801 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::coordinate_matrix< T, L, IB, IA, TA >::begin1 ( ) [inline]

Definition at line 4951 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::coordinate_matrix< T, L, IB, IA, TA >::end1 ( ) [inline]

Definition at line 4955 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::coordinate_matrix< T, L, IB, IA, TA >::begin2 ( ) const [inline]

Definition at line 5106 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::coordinate_matrix< T, L, IB, IA, TA >::end2 ( ) const [inline]

Definition at line 5110 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::coordinate_matrix< T, L, IB, IA, TA >::begin2 ( ) [inline]

Definition at line 5260 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::coordinate_matrix< T, L, IB, IA, TA >::end2 ( ) [inline]

Definition at line 5264 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::coordinate_matrix< T, L, IB, IA, TA >::rbegin1 ( ) const [inline]

Definition at line 5271 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::coordinate_matrix< T, L, IB, IA, TA >::rend1 ( ) const [inline]

Definition at line 5275 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::coordinate_matrix< T, L, IB, IA, TA >::rbegin1 ( ) [inline]

Definition at line 5280 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::coordinate_matrix< T, L, IB, IA, TA >::rend1 ( ) [inline]

Definition at line 5284 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::coordinate_matrix< T, L, IB, IA, TA >::rbegin2 ( ) const [inline]

Definition at line 5289 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::coordinate_matrix< T, L, IB, IA, TA >::rend2 ( ) const [inline]

Definition at line 5293 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::coordinate_matrix< T, L, IB, IA, TA >::rbegin2 ( ) [inline]

Definition at line 5298 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::coordinate_matrix< T, L, IB, IA, TA >::rend2 ( ) [inline]

Definition at line 5302 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::coordinate_matrix< T, L, IB, IA, TA >::serialize ( Archive &  ar,
const unsigned  int 
) [inline]

Definition at line 5308 of file matrix_sparse.hpp.

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

Definition at line 5328 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::coordinate_matrix< T, L, IB, IA, TA >::zero_based ( size_type  k_based_index) [inline, static, private]

Definition at line 5350 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::coordinate_matrix< T, L, IB, IA, TA >::k_based ( size_type  zero_based_index) [inline, static, private]

Definition at line 5354 of file matrix_sparse.hpp.

BOOST_UBLAS_INLINE const container_type& boost::numeric::ublas::matrix_container< coordinate_matrix< T, L, IB, IA, TA > >::operator() ( ) const [inline, inherited]
BOOST_UBLAS_INLINE container_type& boost::numeric::ublas::matrix_container< coordinate_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 5358 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 5359 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 5360 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 5361 of file matrix_sparse.hpp.

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

Definition at line 4390 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::coordinate_matrix< T, L, IB, IA, TA >::size1_ [private]

Definition at line 5338 of file matrix_sparse.hpp.

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

Definition at line 5339 of file matrix_sparse.hpp.

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

Definition at line 5340 of file matrix_sparse.hpp.

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

Definition at line 5341 of file matrix_sparse.hpp.

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

Definition at line 5342 of file matrix_sparse.hpp.

template<class T, class L, std::size_t IB, class IA, class TA>
bool boost::numeric::ublas::coordinate_matrix< T, L, IB, IA, TA >::sorted_ [mutable, private]

Definition at line 5343 of file matrix_sparse.hpp.

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

Definition at line 5344 of file matrix_sparse.hpp.

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

Definition at line 5345 of file matrix_sparse.hpp.

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

Definition at line 5346 of file matrix_sparse.hpp.

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

Definition at line 5347 of file matrix_sparse.hpp.

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

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