Present existing arrays as compressed array based sparse matrix. More...
#include <sparse_view.hpp>


Classes | |
| class | const_iterator1 |
| class | const_iterator2 |
Public Types | |
| typedef vector_view_traits< TA > ::value_type | value_type |
| typedef boost::remove_cv < typename vector_view_traits < JA >::value_type >::type | index_type |
| typedef index_type | size_type |
| typedef vector_view_traits< JA > ::size_type | array_size_type |
| typedef vector_view_traits< JA > ::difference_type | difference_type |
| typedef const value_type & | const_reference |
| typedef IA | rowptr_array_type |
| typedef JA | 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 sparse_tag | storage_category |
| typedef L::orientation_category | orientation_category |
| typedef reverse_iterator_base1 < const_iterator1 > | const_reverse_iterator1 |
| typedef reverse_iterator_base2 < const_iterator2 > | const_reverse_iterator2 |
| typedef compressed_matrix_view < L, IB, IA, JA, TA > | expression_type |
| typedef matrix_tag | type_category |
Public Member Functions | |
| BOOST_UBLAS_INLINE | compressed_matrix_view (index_type n_rows, index_type n_cols, array_size_type nnz, const rowptr_array_type &iptr, const index_array_type &jptr, const value_array_type &values) |
| BOOST_UBLAS_INLINE | compressed_matrix_view (const compressed_matrix_view &o) |
| index_type | size1 () const |
| return the number of rows More... | |
| index_type | size2 () const |
| return the number of columns More... | |
| value_type | operator() (index_type i, index_type j) const |
| return value at position (i,j) More... | |
| BOOST_UBLAS_INLINE const expression_type & | operator() () const |
| BOOST_UBLAS_INLINE expression_type & | operator() () |
Static Public Attributes | |
| static const unsigned | complexity |
Friends | |
| class | iterator1 |
| class | iterator2 |
| class | const_iterator1 |
| class | const_iterator2 |
Present existing arrays as compressed array based sparse matrix.
This class provides CRS / CCS storage layout.
see also http://www.netlib.org/utk/papers/templates/node90.html
\param L layout type, either row_major or column_major \param IB index base, use 0 for C indexing and 1 for FORTRAN indexing of the internal index arrays. This does not affect the operator()(int,int) where the first row/column has always index 0. \param IA index array type, e.g., int[] \param TA value array type, e.g., double[]
| typedef vector_view_traits<JA>::size_type boost::numeric::ublas::compressed_matrix_view< L, IB, IA, JA, TA >::array_size_type |
| typedef matrix_reference<self_type> boost::numeric::ublas::compressed_matrix_view< L, IB, IA, JA, TA >::closure_type |
| typedef const matrix_reference<const self_type> boost::numeric::ublas::compressed_matrix_view< L, IB, IA, JA, TA >::const_closure_type |
| typedef const value_type& boost::numeric::ublas::compressed_matrix_view< L, IB, IA, JA, TA >::const_reference |
| typedef reverse_iterator_base1<const_iterator1> boost::numeric::ublas::compressed_matrix_view< L, IB, IA, JA, TA >::const_reverse_iterator1 |
| typedef reverse_iterator_base2<const_iterator2> boost::numeric::ublas::compressed_matrix_view< L, IB, IA, JA, TA >::const_reverse_iterator2 |
| typedef vector_view_traits<JA>::difference_type boost::numeric::ublas::compressed_matrix_view< L, IB, IA, JA, TA >::difference_type |
|
inherited |
| typedef JA boost::numeric::ublas::compressed_matrix_view< L, IB, IA, JA, TA >::index_array_type |
| typedef boost::remove_cv<typename vector_view_traits<JA>::value_type>::type boost::numeric::ublas::compressed_matrix_view< L, IB, IA, JA, TA >::index_type |
| typedef L::orientation_category boost::numeric::ublas::compressed_matrix_view< L, IB, IA, JA, TA >::orientation_category |
| typedef IA boost::numeric::ublas::compressed_matrix_view< L, IB, IA, JA, TA >::rowptr_array_type |
| typedef index_type boost::numeric::ublas::compressed_matrix_view< L, IB, IA, JA, TA >::size_type |
| typedef sparse_tag boost::numeric::ublas::compressed_matrix_view< L, IB, IA, JA, TA >::storage_category |
|
inherited |
| typedef TA boost::numeric::ublas::compressed_matrix_view< L, IB, IA, JA, TA >::value_array_type |
| typedef vector_view_traits<TA>::value_type boost::numeric::ublas::compressed_matrix_view< L, IB, IA, JA, TA >::value_type |
|
inline |
|
inline |
|
inline |
return value at position (i,j)
References boost::multiprecision::backends::p.
|
inlineinherited |
|
inlineinherited |
|
inline |
return the number of rows
|
inline |
return the number of columns
|
friend |
|
friend |
|
friend |
|
friend |
|
staticinherited |