concepts::TColumn< F > Class Template Reference
A column of a T matrix. More...
#include <analytical.hh>
Public Member Functions | |
void | append (TColumn< F > *T) |
Appends a linked list of TColumns at the end. More... | |
void | clear () |
Deletes all member of the linked list. More... | |
virtual TColumn< F > * | clone () const |
Returns a copy of itself. More... | |
uint | index () const |
Returns the index of the column in a matrix. More... | |
TColumn< F > * | link () const |
Returns the pointer to the next column of the linked list. More... | |
uint | n () const |
Returns the number of rows. More... | |
F & | operator[] (uint i) |
Returns the ith entry in the column. More... | |
F | operator[] (uint i) const |
Returns the ith entry in the column. More... | |
TColumn () | |
TColumn (const TColumn< F > &t) | |
Copy constructor. More... | |
TColumn (uint n, uint idx, TColumn< F > *lnk=0, F def=0) | |
Constructor. More... | |
F * | values () |
Returns the array of entries. More... | |
const F * | values () const |
Returns the array of entries. More... | |
virtual | ~TColumn () |
Protected Member Functions | |
virtual ::std::ostream & | info (::std::ostream &os) const |
uint | successors_ () const |
number of successors More... | |
Protected Attributes | |
Array< F > | val_ |
The data of the column itself. More... | |
Private Attributes | |
uint | idx_ |
Index of the column in a matrix. More... | |
TColumn< F > * | lnk_ |
Pointer to the next column in a linked list. More... | |
uint | n_ |
Number of rows. More... | |
Detailed Description
template<class F>
class concepts::TColumn< F >
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.
- See also
- TMatrixBase
Definition at line 18 of file analytical.hh.
Constructor & Destructor Documentation
◆ TColumn() [1/3]
|
inline |
- Deprecated:
- this constructor does not seem to make sense
Definition at line 51 of file tmatrix.hh.
◆ TColumn() [2/3]
concepts::TColumn< F >::TColumn | ( | uint | n, |
uint | idx, | ||
TColumn< F > * | lnk = 0 , |
||
F | def = 0 |
||
) |
Constructor.
- Parameters
-
n Number of rows idx Index of the column in a T matrix lnk Pointer to the next column (linked list)
◆ TColumn() [3/3]
concepts::TColumn< F >::TColumn | ( | const TColumn< F > & | t | ) |
Copy constructor.
The link to the next element in the linear list (lnk_) is not copied!
◆ ~TColumn()
|
virtual |
Member Function Documentation
◆ append()
void concepts::TColumn< F >::append | ( | TColumn< F > * | T | ) |
Appends a linked list of TColumns at the end.
◆ clear()
void concepts::TColumn< F >::clear | ( | ) |
Deletes all member of the linked list.
◆ clone()
|
virtual |
Returns a copy of itself.
Reimplemented in concepts::TColumnTensor< F, dim >, and concepts::TColumnTensor< bool, 2 >.
◆ index()
|
inline |
Returns the index of the column in a matrix.
Definition at line 76 of file tmatrix.hh.
◆ info()
|
protected |
◆ link()
|
inline |
Returns the pointer to the next column of the linked list.
Definition at line 79 of file tmatrix.hh.
◆ n()
|
inline |
Returns the number of rows.
Definition at line 88 of file tmatrix.hh.
◆ operator[]() [1/2]
|
inline |
Returns the ith entry in the column.
Definition at line 68 of file tmatrix.hh.
◆ operator[]() [2/2]
|
inline |
Returns the ith entry in the column.
Definition at line 66 of file tmatrix.hh.
◆ successors_()
|
protected |
number of successors
◆ values() [1/2]
|
inline |
Returns the array of entries.
Definition at line 73 of file tmatrix.hh.
◆ values() [2/2]
|
inline |
Returns the array of entries.
Definition at line 71 of file tmatrix.hh.
Member Data Documentation
◆ idx_
|
private |
Index of the column in a matrix.
Definition at line 106 of file tmatrix.hh.
◆ lnk_
|
private |
Pointer to the next column in a linked list.
Definition at line 100 of file tmatrix.hh.
◆ n_
|
private |
Number of rows.
Definition at line 103 of file tmatrix.hh.
◆ val_
|
protected |
The data of the column itself.
Definition at line 97 of file tmatrix.hh.
The documentation for this class was generated from the following files:
- constraints/analytical.hh
- space/tmatrix.hh