#include <CNCL/Tab.h>
CN_TAB
CNRandom
CNInterTab
CNRNG
CNTab
requires a table with samples.
Constructors:
CNTab();
CNTab(CNParam *param);
CNTab(double *tab, long length, CNRNG *gen);
CNTab
distribution with a base random number
generator gen
, a table of values tab
, and length
length
.
Example:
double datafield[]={ 2, 4, 6, 8, 10, 12 }; CNTab ex(datafield, 6, &generator);
In addition to the member functions required by CNCL, CNTab
provides:
virtual double operator() ();
Go to the first, previous, next, last section, table of contents.