MultiLevelWrapper

class pyapprox.models.wrappers.MultiLevelWrapper(model, multiindex_num_config_vars, map_to_multidimensional_index=None)[source]

Bases: object

Specify a one-dimension model hierachy from a multiple dimensional hierarchy For example if model has configure variables which refine the x and y physical directions then one can specify a multilevel hierarchy by creating new indices with the mapping k=(i,i).

map_to_multidimensional_indexcallable

Function which maps 1D model index to multi-dimensional index

See function default_map_to_multidimensional_index

Attributes Summary

num_evaluations

Methods Summary

__call__(samples)

Call self as a function.

Attributes Documentation

num_evaluations

Methods Documentation

__call__(samples)[source]

Call self as a function.