A column of a T matrix. More...
#include <tmatrix.hh>


Public Member Functions | |
| void | append (TColumn< F > *T) |
| Appends a linked list of TColumns at the end. | |
| void | clear () |
| Deletes all member of the linked list. | |
| virtual TColumn< F > * | clone () const |
| Returns a copy of itself. | |
| uint | index () const |
| Returns the index of the column in a matrix. | |
| TColumn< F > * | link () const |
| Returns the pointer to the next column of the linked list. | |
| uint | n () const |
| Returns the number of rows. | |
| F | operator[] (uint i) const |
| Returns the ith entry in the column. | |
| F & | operator[] (uint i) |
| Returns the ith entry in the column. | |
| TColumn () | |
| TColumn (const TColumn< F > &t) | |
| Copy constructor. | |
| TColumn (uint n, uint idx, TColumn< F > *lnk=0, F def=0) | |
| Constructor. | |
| F * | values () |
| Returns the array of entries. | |
| const F * | values () const |
| Returns the array of entries. | |
| virtual | ~TColumn () |
Protected Member Functions | |
| virtual std::ostream & | info (std::ostream &os) const |
| Returns information in an output stream. | |
| uint | successors_ () const |
| number of successors | |
Protected Attributes | |
| Array< F > | val_ |
| The data of the column itself. | |
Private Attributes | |
| uint | idx_ |
| Index of the column in a matrix. | |
| TColumn< F > * | lnk_ |
| Pointer to the next column in a linked list. | |
| uint | n_ |
| Number of rows. | |
A column of a T matrix.
More than one T column are arranged in a linked list. These columns are inserted into the T matrix.
Definition at line 38 of file tmatrix.hh.
| concepts::TColumn< F >::TColumn | ( | ) | [inline] |
Definition at line 42 of file tmatrix.hh.
| concepts::TColumn< F >::TColumn | ( | uint | n, |
| uint | idx, | ||
| TColumn< F > * | lnk = 0, |
||
| F | def = 0 |
||
| ) |
Constructor.
| n | Number of rows |
| idx | Index of the column in a T matrix |
| lnk | Pointer to the next column (linked list) |
| concepts::TColumn< F >::TColumn | ( | const TColumn< F > & | t | ) |
Copy constructor.
The link to the next element in the linear list (lnk_) is not copied!
| virtual concepts::TColumn< F >::~TColumn | ( | ) | [virtual] |
| void concepts::TColumn< F >::append | ( | TColumn< F > * | T | ) |
Appends a linked list of TColumns at the end.
| void concepts::TColumn< F >::clear | ( | ) |
Deletes all member of the linked list.
| virtual TColumn<F>* concepts::TColumn< F >::clone | ( | ) | const [virtual] |
Returns a copy of itself.
Reimplemented in concepts::TColumnTensor< F, dim >, concepts::TColumnBlock< F, dim >, and concepts::TColumnTensor< bool, 2 >.
| uint concepts::TColumn< F >::index | ( | ) | const [inline] |
Returns the index of the column in a matrix.
Definition at line 67 of file tmatrix.hh.
| virtual std::ostream& concepts::TColumn< F >::info | ( | std::ostream & | os | ) | const [protected, virtual] |
Returns information in an output stream.
Reimplemented from concepts::OutputOperator.
Reimplemented in concepts::TColumnTensor< F, dim >, concepts::TColumnBlock< F, dim >, and concepts::TColumnTensor< bool, 2 >.
| TColumn<F>* concepts::TColumn< F >::link | ( | ) | const [inline] |
Returns the pointer to the next column of the linked list.
Definition at line 70 of file tmatrix.hh.
| uint concepts::TColumn< F >::n | ( | ) | const [inline] |
Returns the number of rows.
Reimplemented in concepts::TColumnTensor< F, dim >, concepts::TColumnBlock< F, dim >, and concepts::TColumnTensor< bool, 2 >.
Definition at line 79 of file tmatrix.hh.
| F concepts::TColumn< F >::operator[] | ( | uint | i | ) | const [inline] |
Returns the ith entry in the column.
Definition at line 57 of file tmatrix.hh.
| F& concepts::TColumn< F >::operator[] | ( | uint | i | ) | [inline] |
Returns the ith entry in the column.
Definition at line 59 of file tmatrix.hh.
| uint concepts::TColumn< F >::successors_ | ( | ) | const [protected] |
number of successors
| const F* concepts::TColumn< F >::values | ( | ) | const [inline] |
Returns the array of entries.
Definition at line 62 of file tmatrix.hh.
| F* concepts::TColumn< F >::values | ( | ) | [inline] |
Returns the array of entries.
Definition at line 64 of file tmatrix.hh.
uint concepts::TColumn< F >::idx_ [private] |
Index of the column in a matrix.
Definition at line 97 of file tmatrix.hh.
TColumn<F>* concepts::TColumn< F >::lnk_ [private] |
Pointer to the next column in a linked list.
Definition at line 91 of file tmatrix.hh.
uint concepts::TColumn< F >::n_ [private] |
Number of rows.
Reimplemented in concepts::TColumnTensor< F, dim >, concepts::TColumnBlock< F, dim >, and concepts::TColumnTensor< bool, 2 >.
Definition at line 94 of file tmatrix.hh.
Array<F> concepts::TColumn< F >::val_ [protected] |
The data of the column itself.
Definition at line 88 of file tmatrix.hh.