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 TColumnTensor< F, dim > * | 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. | |
| const uint * | n () const |
| Returns the number of rows as an array. | |
| F | operator[] (uint i) const |
| Returns the ith entry in the column. | |
| F & | operator[] (uint i) |
| Returns the ith entry in the column. | |
| F | operator[] (uint *i) const |
| Returns the ith entry in the column. i an array of size dim. | |
| F & | operator[] (uint *i) |
| Returns the ith entry in the column. i an array of size dim. | |
| TColumnTensor (const TColumnTensor< F, dim > &t, const uint *n) | |
| Transformation constructor to higher number of rows. | |
| TColumnTensor (const uint *n, const uint idx, TColumn< F > *lnk=0) | |
| Constructor. | |
| TColumnTensor (const TColumnTensor< F, dim > &t) | |
| Copy constructor The link to the next element in the linear list (lnk_) is not copied! | |
| TColumnTensor (const TColumnBlock< F, dim > &t, uint k) | |
| Copy constructor, takes /c k .th block in /c t. | |
| const F * | values () const |
| Returns the array of entries. | |
| F * | values () |
| Returns the array of entries. | |
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 Member Functions | |
| void | recursiveOut_ (const int d, uint *n, std::ostream &os) const |
Private Attributes | |
| uint | n_ [dim] |
| 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.
This T column can be used for 2 and 3 dimensional problems where the T column needs to have a tensorized form (ie. for the application of an S matrix).
Definition at line 125 of file tmatrix.hh.
| concepts::TColumnTensor< F, dim >::TColumnTensor | ( | const uint * | n, |
| const uint | idx, | ||
| TColumn< F > * | lnk = 0 |
||
| ) |
Constructor.
| n | An array of size dim with the lengths of the relevant parts |
| idx | Index of the column in a T matrix |
| lnk | Pointer to the next column (linked list) |
| concepts::TColumnTensor< F, dim >::TColumnTensor | ( | const TColumnTensor< F, dim > & | t | ) |
Copy constructor The link to the next element in the linear list (lnk_) is not copied!
| concepts::TColumnTensor< F, dim >::TColumnTensor | ( | const TColumnBlock< F, dim > & | t, |
| uint | k | ||
| ) |
Copy constructor, takes /c k .th block in /c t.
| concepts::TColumnTensor< F, dim >::TColumnTensor | ( | const TColumnTensor< F, dim > & | t, |
| const uint * | n | ||
| ) |
Transformation constructor to higher number of rows.
| void concepts::TColumn< F >::append | ( | TColumn< F > * | T | ) | [inherited] |
Appends a linked list of TColumns at the end.
| void concepts::TColumn< F >::clear | ( | ) | [inherited] |
Deletes all member of the linked list.
| virtual TColumnTensor<F, dim>* concepts::TColumnTensor< F, dim >::clone | ( | ) | const [virtual] |
Returns a copy of itself.
Reimplemented from concepts::TColumn< F >.
| uint concepts::TColumn< F >::index | ( | ) | const [inline, inherited] |
Returns the index of the column in a matrix.
Definition at line 67 of file tmatrix.hh.
| virtual std::ostream& concepts::TColumnTensor< F, dim >::info | ( | std::ostream & | os | ) | const [protected, virtual] |
Returns information in an output stream.
Reimplemented from concepts::TColumn< F >.
| TColumn<F>* concepts::TColumn< F >::link | ( | ) | const [inline, inherited] |
Returns the pointer to the next column of the linked list.
Definition at line 70 of file tmatrix.hh.
| const uint* concepts::TColumnTensor< F, dim >::n | ( | ) | const [inline] |
Returns the number of rows as an array.
Reimplemented from concepts::TColumn< F >.
Definition at line 166 of file tmatrix.hh.
| F& concepts::TColumnTensor< F, dim >::operator[] | ( | uint * | i | ) | [inline] |
Returns the ith entry in the column. i an array of size dim.
Definition at line 156 of file tmatrix.hh.
| F& concepts::TColumn< F >::operator[] | ( | uint | i | ) | [inline, inherited] |
Returns the ith entry in the column.
Definition at line 59 of file tmatrix.hh.
| F concepts::TColumn< F >::operator[] | ( | uint | i | ) | const [inline, inherited] |
Returns the ith entry in the column.
Definition at line 57 of file tmatrix.hh.
| F concepts::TColumnTensor< F, dim >::operator[] | ( | uint * | i | ) | const [inline] |
Returns the ith entry in the column. i an array of size dim.
Definition at line 145 of file tmatrix.hh.
| void concepts::TColumnTensor< F, dim >::recursiveOut_ | ( | const int | d, |
| uint * | n, | ||
| std::ostream & | os | ||
| ) | const [private] |
| uint concepts::TColumn< F >::successors_ | ( | ) | const [protected, inherited] |
number of successors
| const F* concepts::TColumn< F >::values | ( | ) | const [inline, inherited] |
Returns the array of entries.
Definition at line 62 of file tmatrix.hh.
| F* concepts::TColumn< F >::values | ( | ) | [inline, inherited] |
Returns the array of entries.
Definition at line 64 of file tmatrix.hh.
uint concepts::TColumnTensor< F, dim >::n_[dim] [private] |
Number of rows.
Reimplemented from concepts::TColumn< F >.
Definition at line 173 of file tmatrix.hh.
Array<F> concepts::TColumn< F >::val_ [protected, inherited] |
The data of the column itself.
Definition at line 88 of file tmatrix.hh.