Cache of the values for the m[dim] grid. More...
#include <cubature.h>
For adaptive cubature, thanks to the nesting of the C-C rules, we can re-use the values from coarser grids for finer grids, and the coarser grids are also used for error estimation.
A grid is determined by an m[dim] array, where m[i] denotes 2^(m[i]+1)+1 points in the i-th dimension.
If mi < dim, then we only store the values corresponding to the difference between the m grid and the grid with m[mi] -> m[mi]-1. (m[mi]-1 == -1 corresponds to the trivial grid of one point in the center.)
Definition at line 1508 of file cubature.h.
Public Member Functions | |
cache (const cache &e) | |
cache & | operator= (const cache &e) |
Public Attributes | |
std::vector< size_t > | m |
Desc. | |
size_t | mi |
Desc. | |
vec_t | val |
Desc. | |
Documentation generated with Doxygen. Provided under the
GNU Free Documentation License (see License Information).