SG++-Doxygen-Documentation
python.leja Namespace Reference

Functions

def calc_min (f, lower_bound, upper_bound)
 
def invert_maximum_leja (next_point, z, lower_bound, upper_bound, weight=lambda x :1)
 
def leja_points (start, count, lower_bound, upper_bound, weight=lambda x :1, debug=False, view=False)
 
def leja_poly (next_point, z, lower_bound, upper_bound, weight=lambda x :1)
 
def maximum_leja (next_point, z, lower_bound, upper_bound, weight=lambda x :1)
 

Variables

int count = 8
 
int lower_bound = 0
 
def points = leja_points(start, count, lower_bound, upper_bound, weight)
 
float start = 0.5
 
int upper_bound = 1
 
 weight = lambda x : np.sin(x * np.pi)
 

Function Documentation

◆ calc_min()

def python.leja.calc_min (   f,
  lower_bound,
  upper_bound 
)

Referenced by python.leja.leja_points().

◆ invert_maximum_leja()

def python.leja.invert_maximum_leja (   next_point,
  z,
  lower_bound,
  upper_bound,
  weight = lambda x : 1 
)
The Nelder-Mead Simplex algorithm used to find the next leja point searches
for the minimum of the function, so we just invert our maximum function

References python.leja.maximum_leja().

Referenced by python.leja.leja_points().

◆ leja_points()

def python.leja.leja_points (   start,
  count,
  lower_bound,
  upper_bound,
  weight = lambda x : 1,
  debug = False,
  view = False 
)
calculates the next COUNT leja points with START = z_0
returns the leja points in a list

References python.leja.calc_min(), python.statsfileInfo.f, and python.leja.invert_maximum_leja().

◆ leja_poly()

def python.leja.leja_poly (   next_point,
  z,
  lower_bound,
  upper_bound,
  weight = lambda x : 1 
)

References python.leja.weight.

◆ maximum_leja()

def python.leja.maximum_leja (   next_point,
  z,
  lower_bound,
  upper_bound,
  weight = lambda x : 1 
)
the maximums function for the leja points
the next leja point is the input so that this function returns
its maximum

References python.leja.weight.

Referenced by python.leja.invert_maximum_leja().

Variable Documentation

◆ count

◆ lower_bound

◆ points

def python.leja.points = leja_points(start, count, lower_bound, upper_bound, weight)

Referenced by sgpp::combigrid::PolynomialScalarProductEvaluator.initializeBounds(), sgpp::datadriven::DensityOCLMultiPlatform::OperationPruneGraphOCLMultiPlatform< T >.OperationPruneGraphOCLMultiPlatform(), sgpp::optimization::optimizer::NelderMead.optimize(), sgpp::base::GridPrinterForStretching.printGrid(), sgpp::base::GridPrinter.printGrid(), sgpp::combigrid::SortedPermutationIterator.SortedPermutationIterator(), sgpp::base::BoundingBox.transformPointsToBoundingBox(), sgpp::base::BoundingBox.transformPointsToUnitCube(), sgpp::base::EvalCuboidGenerator.~EvalCuboidGenerator(), sgpp::base::EvalCuboidGeneratorForStretching.~EvalCuboidGeneratorForStretching(), sgpp::datadriven::OperationInverseRosenblattTransformation.~OperationInverseRosenblattTransformation(), sgpp::datadriven::OperationInverseRosenblattTransformationBspline.~OperationInverseRosenblattTransformationBspline(), sgpp::datadriven::OperationInverseRosenblattTransformationBsplineBoundary.~OperationInverseRosenblattTransformationBsplineBoundary(), sgpp::datadriven::OperationInverseRosenblattTransformationBsplineClenshawCurtis.~OperationInverseRosenblattTransformationBsplineClenshawCurtis(), sgpp::datadriven::OperationInverseRosenblattTransformationLinear.~OperationInverseRosenblattTransformationLinear(), sgpp::datadriven::OperationInverseRosenblattTransformationModBspline.~OperationInverseRosenblattTransformationModBspline(), sgpp::datadriven::OperationInverseRosenblattTransformationModBsplineClenshawCurtis.~OperationInverseRosenblattTransformationModBsplineClenshawCurtis(), sgpp::datadriven::OperationInverseRosenblattTransformationModPoly.~OperationInverseRosenblattTransformationModPoly(), sgpp::datadriven::OperationInverseRosenblattTransformationModPolyClenshawCurtis.~OperationInverseRosenblattTransformationModPolyClenshawCurtis(), sgpp::datadriven::OperationInverseRosenblattTransformationPoly.~OperationInverseRosenblattTransformationPoly(), sgpp::datadriven::OperationInverseRosenblattTransformationPolyBoundary.~OperationInverseRosenblattTransformationPolyBoundary(), sgpp::datadriven::OperationInverseRosenblattTransformationPolyClenshawCurtis.~OperationInverseRosenblattTransformationPolyClenshawCurtis(), sgpp::datadriven::OperationInverseRosenblattTransformationPolyClenshawCurtisBoundary.~OperationInverseRosenblattTransformationPolyClenshawCurtisBoundary(), sgpp::datadriven::OperationRosenblattTransformation.~OperationRosenblattTransformation(), sgpp::datadriven::OperationRosenblattTransformationBspline.~OperationRosenblattTransformationBspline(), sgpp::datadriven::OperationRosenblattTransformationBsplineBoundary.~OperationRosenblattTransformationBsplineBoundary(), sgpp::datadriven::OperationRosenblattTransformationBsplineClenshawCurtis.~OperationRosenblattTransformationBsplineClenshawCurtis(), sgpp::datadriven::OperationRosenblattTransformationLinear.~OperationRosenblattTransformationLinear(), sgpp::datadriven::OperationRosenblattTransformationModBspline.~OperationRosenblattTransformationModBspline(), sgpp::datadriven::OperationRosenblattTransformationModBsplineClenshawCurtis.~OperationRosenblattTransformationModBsplineClenshawCurtis(), sgpp::datadriven::OperationRosenblattTransformationModPoly.~OperationRosenblattTransformationModPoly(), sgpp::datadriven::OperationRosenblattTransformationModPolyClenshawCurtis.~OperationRosenblattTransformationModPolyClenshawCurtis(), sgpp::datadriven::OperationRosenblattTransformationPoly.~OperationRosenblattTransformationPoly(), sgpp::datadriven::OperationRosenblattTransformationPolyBoundary.~OperationRosenblattTransformationPolyBoundary(), sgpp::datadriven::OperationRosenblattTransformationPolyClenshawCurtis.~OperationRosenblattTransformationPolyClenshawCurtis(), sgpp::datadriven::OperationRosenblattTransformationPolyClenshawCurtisBoundary.~OperationRosenblattTransformationPolyClenshawCurtisBoundary(), and sgpp::combigrid::PolynomialQuadratureEvaluator.~PolynomialQuadratureEvaluator().

◆ start

float python.leja.start = 0.5

Referenced by sgpp::datadriven::ClusteringOCL::OperationClusteringOCL< T >.calculate_clusters(), sgpp::combigrid::LTwoScalarProductHashMapNakBsplineBoundaryCombigrid.calculateScalarProduct(), sgpp::datadriven::DensityOCLMultiPlatform::OperationCreateGraphOCLSingleDevice< T >.create_graph(), sgpp::base::OperationSecondMomentBspline.doQuadrature(), sgpp::base::OperationFirstMomentBsplineBoundary.doQuadrature(), sgpp::base::OperationSecondMomentBsplineBoundary.doQuadrature(), sgpp::base::OperationFirstMomentBspline.doQuadrature(), sgpp::base::OperationSecondMomentModBspline.doQuadrature(), sgpp::base::OperationFirstMomentModBspline.doQuadrature(), sgpp::base::OperationFirstMomentModBsplineClenshawCurtis.doQuadrature(), sgpp::base::OperationSecondMomentBsplineClenshawCurtis.doQuadrature(), sgpp::base::OperationSecondMomentModBsplineClenshawCurtis.doQuadrature(), sgpp::base::OperationFirstMomentBsplineClenshawCurtis.doQuadrature(), sgpp::datadriven::DensityOCLMultiPlatform::OperationDensityOCLMultiPlatform< T >.generateb(), sgpp::datadriven::PartitioningTool.getPartitionSegment(), sgpp::base::LinearLoadBalancer.getPartitionSegments(), sgpp::base::LinearLoadBalancerMultiPlatform.getPartitionSegments(), main(), sgpp::pde::OperationMatrixLTwoDotModBsplineClenshawCurtis.mult(), sgpp::pde::OperationMatrixLTwoDotBspline.mult(), sgpp::pde::OperationLaplaceBspline.mult(), sgpp::pde::OperationLaplaceBsplineBoundary.mult(), sgpp::pde::OperationLaplaceBsplineClenshawCurtis.mult(), sgpp::pde::OperationLaplaceModBspline.mult(), sgpp::pde::OperationLaplaceModBsplineClenshawCurtis.mult(), sgpp::pde::OperationMatrixLTwoDotBsplineBoundary.mult(), sgpp::pde::OperationMatrixLTwoDotBsplineClenshawCurtis.mult(), sgpp::pde::OperationMatrixLTwoDotModBspline.mult(), sgpp::datadriven::OperationMultiEvalMPI.mult(), sgpp::datadriven::OperationMultiEvalStreaming.mult(), sgpp::datadriven::OperationMultiEvalModMaskStreaming.mult(), sgpp::datadriven::AbstractOperationMultipleEvalSubspace.mult(), sgpp::datadriven::OperationMultiEvalStreamingBSplineOCL< T >.mult(), sgpp::datadriven::StreamingModOCLMaskMultiPlatform::KernelMult< T >.mult(), sgpp::datadriven::OperationMultiEvalStreamingModOCLUnified< T >.mult(), sgpp::datadriven::OperationMultiEvalStreamingModOCLFastMultiPlatform< T >.mult(), sgpp::datadriven::OperationMultiEvalStreamingModOCLMaskMultiPlatform< T >.mult(), sgpp::datadriven::OperationMultiEvalStreamingModOCLOpt< T >.mult(), sgpp::datadriven::StreamingOCLMultiPlatform::KernelMult< T >.mult(), sgpp::datadriven::DensityOCLMultiPlatform::OperationDensityOCLMultiPlatform< T >.mult(), sgpp::datadriven::OperationMultiEvalMPI.multSlave(), sgpp::datadriven::AbstractOperationMultipleEvalSubspace.multTranspose(), sgpp::datadriven::OperationMultiEvalMPI.multTranspose(), sgpp::datadriven::OperationMultiEvalStreaming.multTranspose(), sgpp::datadriven::OperationMultiEvalModMaskStreaming.multTranspose(), sgpp::datadriven::StreamingModOCLMaskMultiPlatform::KernelMultTranspose< T >.multTranspose(), sgpp::datadriven::OperationMultiEvalStreamingBSplineOCL< T >.multTranspose(), sgpp::datadriven::StreamingOCLMultiPlatform::KernelMultTranspose< T >.multTranspose(), sgpp::datadriven::OperationMultiEvalStreamingModOCLUnified< T >.multTranspose(), sgpp::datadriven::OperationMultiEvalStreamingModOCLFastMultiPlatform< T >.multTranspose(), sgpp::datadriven::OperationMultiEvalStreamingModOCLOpt< T >.multTranspose(), sgpp::datadriven::OperationMultiEvalStreamingModOCLMaskMultiPlatform< T >.multTranspose(), sgpp::pde::OperationLaplaceExplicitBspline.OperationLaplaceExplicitBspline(), sgpp::pde::OperationLaplaceExplicitModBspline.OperationLaplaceExplicitModBspline(), sgpp::pde::OperationMatrixLTwoDotExplicitBspline.OperationMatrixLTwoDotExplicitBspline(), sgpp::pde::OperationMatrixLTwoDotExplicitBsplineBoundary.OperationMatrixLTwoDotExplicitBsplineBoundary(), sgpp::pde::OperationMatrixLTwoDotExplicitBsplineClenshawCurtis.OperationMatrixLTwoDotExplicitBsplineClenshawCurtis(), sgpp::pde::OperationMatrixLTwoDotExplicitModBspline.OperationMatrixLTwoDotExplicitModBspline(), sgpp::pde::OperationMatrixLTwoDotExplicitModBsplineClenshawCurtis.OperationMatrixLTwoDotExplicitModBsplineClenshawCurtis(), sgpp::datadriven::DensityOCLMultiPlatform::OperationPruneGraphOCLMultiPlatform< T >.prune_graph(), sgpp::base::PrewaveletGridGenerator.refine(), sgpp::datadriven::StringTokenizer.tokenize(), sgpp::datadriven::OperationMultiEvalModMaskStreaming.~OperationMultiEvalModMaskStreaming(), and sgpp::datadriven::OperationMultiEvalStreaming.~OperationMultiEvalStreaming().

◆ upper_bound

int python.leja.upper_bound = 1

◆ weight