hedge :: optemplate :: CommutativeConstantFoldingMapper :: Class CommutativeConstantFoldingMapper
[hide private]
[frames] | no frames]

Class CommutativeConstantFoldingMapper

source code


Instance Methods [hide private]
 
__init__(self)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
is_constant(self, expr) source code

Inherited from pymbolic.mapper.constant_folder.CommutativeConstantFoldingMapper: map_common_subexpression_uncached

Inherited from pymbolic.mapper.CSECachingMapperMixin: map_common_subexpression

Inherited from pymbolic.mapper.constant_folder.CommutativeConstantFoldingMapperBase: map_product

Inherited from pymbolic.mapper.constant_folder.ConstantFoldingMapperBase: evaluate, fold, map_sum

Inherited from pymbolic.mapper.IdentityMapperBase: map_call, map_constant, map_function_symbol, map_list, map_lookup, map_negation, map_numpy_array, map_polynomial, map_power, map_quotient, map_subscript, map_variable, map_vector

Inherited from pymbolic.mapper.RecursiveMapper: rec

Inherited from pymbolic.mapper.Mapper: __call__, handle_unsupported_expression, map_foreign, map_rational

Inherited from IdentityMapperMixin: map_boundarize, map_boundary_pair, map_diff_base, map_elementwise_max, map_flux_base, map_flux_exchange, map_mass_base, map_normal_component, map_operator_binding, map_scalar_parameter

Inherited from LocalOpReducerMixin: map_diff, map_inverse_mass, map_mass, map_minv_st, map_stiffness, map_stiffness_t

Inherited from FluxOpReducerMixin: map_flux, map_lift

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

is_constant(self, expr)

source code 
Overrides: pymbolic.mapper.constant_folder.ConstantFoldingMapperBase.is_constant