WaveBlocksND
|
Structure providing weighted nodes for Genz-Keister quadrature. More...
#include <genz_keister_qr.hpp>
Public Types | |
using | NodeMatrix = Eigen::Matrix< real_t, DIM, Eigen::Dynamic > |
using | WeightVector = Eigen::Matrix< real_t, 1, Eigen::Dynamic > |
Static Public Member Functions | |
static dim_t | number_nodes () |
Return the number of nodes for the given order. More... | |
static NodeMatrix | nodes () |
Return the quadrature nodes. More... | |
static WeightVector | weights () |
Return the quadrature weights. More... | |
static std::tuple< NodeMatrix, WeightVector > | nodes_and_weights () |
Return the quadrature nodes and weights. More... | |
static void | clear_cache () |
Free the precalculated nodes and weights. More... | |
Static Public Attributes | |
static const dim_t | D = DIM |
static const dim_t | level = LEVEL |
Static Private Member Functions | |
static void | calculate_nodes_and_weights () |
Precalculate nodes and weights. More... | |
static NodeMatrix | nodes_for_partition (const math::partition_t< DIM > &part) |
Return fully symmetric quadrature nodes for given partition. More... | |
static real_t | weight_for_partition (const math::partition_t< DIM > &part) |
Return quadrature weight for given partition. More... | |
Static Private Attributes | |
static bool | cached = false |
static NodeMatrix | cached_nodes |
static WeightVector | cached_weights |
Structure providing weighted nodes for Genz-Keister quadrature.
DIM | dimensionality of the Genz-Keister rule |
LEVEL | the level of the Genz-Keister rule, must be between 1 and 30 inclusive |
using waveblocks::innerproducts::GenzKeisterQR< DIM, LEVEL >::NodeMatrix = Eigen::Matrix<real_t,DIM,Eigen::Dynamic> |
using waveblocks::innerproducts::GenzKeisterQR< DIM, LEVEL >::WeightVector = Eigen::Matrix<real_t,1,Eigen::Dynamic> |
|
inlinestaticprivate |
Precalculate nodes and weights.
|
inlinestatic |
Free the precalculated nodes and weights.
|
inlinestatic |
Return the quadrature nodes.
|
inlinestatic |
Return the quadrature nodes and weights.
|
inlinestaticprivate |
Return fully symmetric quadrature nodes for given partition.
[in] | part | partition |
|
inlinestatic |
Return the number of nodes for the given order.
|
inlinestaticprivate |
Return quadrature weight for given partition.
[in] | part | partition |
|
inlinestatic |
Return the quadrature weights.
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
static |
|
static |