linalg::sym2d< C > Struct Template Reference

Inheritance diagram for linalg::sym2d< C >:

linalg::rep1d< C > List of all members.

Detailed Description

template<class C>
struct linalg::sym2d< C >

Class of mat_rep derived from linalg::rep1d<C> including the number of rows nbrow_ and the number of columns nbcol_ of the matrix. The matrix is stored by column in the array linalg::rep1d<C>.

Definition at line 45 of file sym2d.h.

Public Types

typedef C * col_iterator
typedef stride_iterator< C,
C *, size_type
typedef sym2d< C > self_t
typedef C value_type
typedef unsigned int size_type
typedef C * iterator
typedef iterator const_iterator
typedef std::reverse_iterator<
typedef std::reverse_iterator<

Public Member Functions

 sym2d ()
 sym2d (const self_t &v)
 sym2d (size_type i, size_type j)
 sym2d (size_type i, size_type j, C *t)
 sym2d (size_type i, size_type j, C *t, char c)
 sym2d (const char *nm)
sym2d< C > & operator= (const sym2d< C > &v)
C & operator() (size_type i, size_type j)
const C & operator() (size_type i, size_type j) const
size_type nbrow () const
size_type nbcol () const
self_t resize (size_type i, size_type j)
void resize (const size_type &n)
size_type size () const
iterator begin ()
const_iterator begin () const
iterator end ()
const_iterator end () const
reverse_iterator rbegin ()
const_reverse_iterator rbegin () const
reverse_iterator rend ()
const_reverse_iterator rend () const
C & operator[] (size_type i)
const C & operator[] (size_type i) const

Public Attributes

size_type nbrow_
size_type nbcol_
size_type size_
C * tab_

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