Member |
Description |
symmetric_matrix (size_type size) |
Allocates an uninitialized symmetric_matrix that
holds size rows of size elements. |
symmetric_matrix (const symmetric_matrix
&m) |
The copy constructor. |
template<class AE>
symmetric_matrix (const matrix_expression<AE>
&ae) |
The extended copy constructor. |
void resize (size_type size, bool preserve =
true) |
Reallocates a symmetric_matrix to hold
size rows of size elements. The existing
elements of the symmetric_matrix are preseved when
specified. |
size_type size1 () const |
Returns the number of rows. |
size_type size2 () const |
Returns the number of columns. |
const_reference operator () (size_type i, size_type j)
const |
Returns a const reference of the j
-th element in the i -th row. |
reference operator () (size_type i, size_type
j) |
Returns a reference of the j -th element in the
i -th row. |
symmetric_matrix &operator = (const symmetric_matrix
&m) |
The assignment operator. |
symmetric_matrix &assign_temporary (symmetric_matrix
&m) |
Assigns a temporary. May change the symmetric matrix
m . |
template<class AE>
symmetric_matrix &operator = (const matrix_expression<AE>
&ae) |
The extended assignment operator. |
template<class AE>
symmetric_matrix &assign (const matrix_expression<AE>
&ae) |
Assigns a matrix expression to the symmetric matrix. Left and
right hand side of the assignment should be independent. |
template<class AE>
symmetric_matrix &operator += (const
matrix_expression<AE> &ae) |
A computed assignment operator. Adds the matrix expression to
the symmetric matrix. |
template<class AE>
symmetric_matrix &plus_assign (const
matrix_expression<AE> &ae) |
Adds a matrix expression to the symmetric matrix. Left and
right hand side of the assignment should be independent. |
template<class AE>
symmetric_matrix &operator -= (const
matrix_expression<AE> &ae) |
A computed assignment operator. Subtracts the matrix expression
from the symmetric matrix. |
template<class AE>
symmetric_matrix &minus_assign (const
matrix_expression<AE> &ae) |
Subtracts a matrix expression from the symmetric matrix. Left
and right hand side of the assignment should be independent. |
template<class AT>
symmetric_matrix &operator *= (const AT &at) |
A computed assignment operator. Multiplies the symmetric matrix
with a scalar. |
template<class AT>
symmetric_matrix &operator /= (const AT &at) |
A computed assignment operator. Divides the symmetric matrix
through a scalar. |
void swap (symmetric_matrix &m) |
Swaps the contents of the symmetric matrices. |
void insert (size_type i, size_type j, const_reference
t) |
Inserts the value t at the j -th
element of the i -th row. |
void erase (size_type i, size_type j) |
Erases the value at the j -th elemenst of the
i -th row. |
void clear () |
Clears the matrix. |
const_iterator1 begin1 () const |
Returns a const_iterator1 pointing to the
beginning of the symmetric_matrix . |
const_iterator1 end1 () const |
Returns a const_iterator1 pointing to the end of
the symmetric_matrix . |
iterator1 begin1 () |
Returns a iterator1 pointing to the beginning of
the symmetric_matrix . |
iterator1 end1 () |
Returns a iterator1 pointing to the end of the
symmetric_matrix . |
const_iterator2 begin2 () const |
Returns a const_iterator2 pointing to the
beginning of the symmetric_matrix . |
const_iterator2 end2 () const |
Returns a const_iterator2 pointing to the end of
the symmetric_matrix . |
iterator2 begin2 () |
Returns a iterator2 pointing to the beginning of
the symmetric_matrix . |
iterator2 end2 () |
Returns a iterator2 pointing to the end of the
symmetric_matrix . |
const_reverse_iterator1 rbegin1 () const |
Returns a const_reverse_iterator1 pointing to the
beginning of the reversed symmetric_matrix . |
const_reverse_iterator1 rend1 () const |
Returns a const_reverse_iterator1 pointing to the
end of the reversed symmetric_matrix . |
reverse_iterator1 rbegin1 () |
Returns a reverse_iterator1 pointing to the
beginning of the reversed symmetric_matrix . |
reverse_iterator1 rend1 () |
Returns a reverse_iterator1 pointing to the end of
the reversed symmetric_matrix . |
const_reverse_iterator2 rbegin2 () const |
Returns a const_reverse_iterator2 pointing to the
beginning of the reversed symmetric_matrix . |
const_reverse_iterator2 rend2 () const |
Returns a const_reverse_iterator2 pointing to the
end of the reversed symmetric_matrix . |
reverse_iterator2 rbegin2 () |
Returns a reverse_iterator2 pointing to the
beginning of the reversed symmetric_matrix . |
reverse_iterator2 rend2 () |
Returns a reverse_iterator2 pointing to the end of
the reversed symmetric_matrix . |