SG++

## Public Member Functions

def computeTrilinearFormByList (self, gs, gpsk, basisk, alphak, gpsi, basisi, gpsj, basisj)

def computeTrilinearFormByRow (self, gs, gpsk, basisk, gpi, basisi, gpj, basisj)

def computeTrilinearFormEntry (self, gs, gpk, basisk, gpi, basisi, gpj, basisj, d)

def getTrilinearFormEntry (self, gs, gpk, basisk, gpi, basisi, gpj, basisj)

def hasValue (self, gpk, gpi, gpj, d)

## Detailed Description

Generic object for quadrature strategies


## Member Function Documentation

Compute trilinear form for two lists of grid points
@param gs: HashGridStorage
@param gpsk: list of HashGridPoint
@param basisk: SG++ basis for grid indices gpsk
@param alphak: coefficients for kth grid
@param gpsi: list of HashGridPoint
@param basisi: SG++ basis for grid indices gpsi
@param gpsj: list of HashGridPoint
@param basisj: SG++ basis for grid indices gpsj
@return: DataMatrix

Compute the trilinear form of two grid point with a list
of grid points
@param gs: HashGridStorage
@param gpk: list of HashGridPoint
@param basisk: SG++ Basis for grid indices k
@param gpi: HashGridPoint
@param basisi: SG++ Basis for grid indices i
@param gpj: HashGridPoint
@param basisj: SG++ Basis for grid indices j
@return numpy array

Compute the Trilinear form of one grid point with another one
@param gs: HashGridStorage
@param gpk: HashGridPoint
@param basisk: SG++ Basis
@param gpi: HashGridPoint
@param basisi: SG++ Basis
@param gpj: HashGridPoint
@param basisj: SG++ Basis

Restore the trilinear form of two grid points if it is available.
If not, forward the result to the computation method.
@param gs: HashGridStorage
@param gpk: HashGridPoint
@param basisk: SG++ Basis
@param gpi: HashGridPoint
@param basisi: SG++ Basis
@param gpj: HashGridPoint
@param basisj: SG++ Basis