Table Class Reference

Performs linear interpolation and 2-point derivative computation on a table. More...

#include <Table.h>

List of all members.

Public Member Functions

 Table (int n)
 Constructor: provide number of table entries $n$.
Access members
double get_x (double y)
 For given ordinate, request abscissa.
double get_y (double x)
 For given abscissa, request ordinate.
double get_drv (double x)
 For given abscissa, request derivative.
void set_even (void)
 Sets and exploits even abscissa intervals (significant speed up).

Public Attributes

vector< double > xx
 The abscissa for the table.
vector< double > yy
 The ordinate for the table.

Static Public Attributes

static bool use_guard
 Use version of grid search which ensures that interpolation stays on grid.


Detailed Description

Performs linear interpolation and 2-point derivative computation on a table.
The documentation for this class was generated from the following file:
  • /home/weinberg/src/BIE/include/Table.h

Send suggestions, questions, and feedback to WEINBERG at ASTRO dot UMASS dot EDU.
Documentation generated at Fri Mar 26 00:35:12 2010 by doxygen