SG++-Doxygen-Documentation

Conditionalize Probability Density Function. More...

#include <OperationDensityConditional.hpp>

## Public Member Functions

virtual void doConditional (base::DataVector &alpha, base::Grid *&mg, base::DataVector &malpha, unsigned int mdim, double xbar)
Conditional (Density) Functions. More...

OperationDensityConditional (base::Grid *grid)

virtual ~OperationDensityConditional ()

base::Gridgrid

## Detailed Description

Conditionalize Probability Density Function.

## Constructor & Destructor Documentation

 sgpp::datadriven::OperationDensityConditional::OperationDensityConditional ( base::Grid * grid )
inlineexplicit
inlinevirtual

References alpha, and doConditional().

## Member Function Documentation

 void sgpp::datadriven::OperationDensityConditional::doConditional ( base::DataVector & alpha, base::Grid *& mg, base::DataVector & malpha, unsigned int mdim, double xbar )
virtual

Conditional (Density) Functions.

Parameters
 alpha Coefficient vector for current grid mg Referenz of grid pointer malpha Coefficient vector for new grid (mg). Will be resized. mdim Marginalize in dimension mdim xbar Point at which to conditionalize

Assume: mdim = 1 Compute vector with values (phi_{l1,i1}(xbar) = phi_{l1,i1}(xbar)*phi_{l2,i2}(0.5)

Compute theta = theta + alpha_{l,i}*zeta_{l,i}*int{phi_{l2, i_2}}

Generate d - 1 dimensional grid, as in marginalize

Note: Because of adaptively refined sparse grids, we cannot simply generate a regular grid. Thus, we need to add point after point to the new grid mg

Compute coefficients malpha for grid mg