SG++
python.uq.operations.general Namespace Reference

Functions

def cross (grid1, grid2)
 
def extend_grid (grid, n, args, kws)
 
def extend_grid_1d (grid, args, kws)
 
def insert_children (grid, gp, d)
 
def isList (x)
 
def isMatrix (x)
 
def isNumerical (x)
 
def join (grid1, grid2, args, kws)
 
def project (grid, dims)
 
def projectList (gps, dims)
 

Function Documentation

def python.uq.operations.general.cross (   grid1,
  grid2 
)
Create a grid of dimensionality dim1 + dim2 where
@param grid1:
@param grid2:
def python.uq.operations.general.extend_grid (   grid,
  n,
  args,
  kws 
)
Extends the grid. Generates a full grid in all additional dimensions
@param grid: Grid, sparse grid
@param n: int, additional dimensions

References python.uq.operations.general.extend_grid_1d().

Referenced by python.uq.operations.general.join().

def python.uq.operations.general.extend_grid_1d (   grid,
  args,
  kws 
)
def python.uq.operations.general.insert_children (   grid,
  gp,
  d 
)
def python.uq.operations.general.isList (   x)
def python.uq.operations.general.isMatrix (   x)
def python.uq.operations.general.isNumerical (   x)
def python.uq.operations.general.join (   grid1,
  grid2,
  args,
  kws 
)
Join two grids, which are not of the same dimensionality. The grid
of lower dimensionality is extended to the larger one by adding
a full grid resolution in the new directions.
@param grid1: Grid, sparse grid
@param grid2: Grid, sparse grid
@return: Grid, joined sparse grid of dimensionality max(dim1, dim2) with
basis of grid2

References python.uq.operations.sparse_grid.copyGrid(), and python.uq.operations.general.extend_grid().

def python.uq.operations.general.project (   grid,
  dims 
)
def python.uq.operations.general.projectList (   gps,
  dims 
)
Project all grid points to the given dimensions

@param gps: list of grid points
@param dims: list dimensions to which the grid points are projected

Referenced by python.uq.estimators.AnalyticEstimationStrategy.AnalyticEstimationStrategy.computeSystemMatrixForMeanList(), and python.uq.estimators.AnalyticEstimationStrategy.AnalyticEstimationStrategy.computeSystemMatrixForVarianceList().