NGSolve  4.9
Public Member Functions | Protected Attributes
ngstd::Table< T > Class Template Reference

A compact Table container. More...

#include <table.hpp>

Inheritance diagram for ngstd::Table< T >:
ngstd::BaseTable

List of all members.

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

Detailed Description

template<class T>
class ngstd::Table< T >

A compact Table container.

A table contains size entries of variable size. The entry sizes must be known at construction.


The documentation for this class was generated from the following file: