|
NGSolve
4.9
|
A compact Table container. More...
#include <table.hpp>
Public Member Functions | |
| Table (int asize, int entrysize) | |
| Construct table of uniform entrysize. | |
| Table (const FlatArray< int > &entrysize) | |
| Construct table of variable entrysize. | |
| ~Table () | |
| Delete data. | |
| int | Size () const |
| Size of table. | |
| int | NElements () const |
| number of elements in all rows | |
| const FlatArray< T > | operator[] (int i) const |
| Access entry. | |
| T * | Data () const |
| FlatArray< T > | AsArray () const |
Protected Attributes | |
| T * | data |
| array of data | |
A compact Table container.
A table contains size entries of variable size. The entry sizes must be known at construction.
1.7.6.1