Geant4  10.01
Functions which are containers for, or functions of, other functions
+ Collaboration diagram for Functions which are containers for, or functions of, other functions:

Classes

class  c2_classic_function_p< float_type >
 a container into which any conventional c-style function can be dropped, to create a degenerate c2_function without derivatives. Mostly useful for sampling into interpolating functions. construct a reference to this with c2_classic_function()The factory function c2_factory::classic_function() creates *new c2_classic_function_p() More...
 
class  c2_const_ptr< float_type >
 create a container for a c2_function which handles the reference counting.It is useful as a smart container to hold a c2_function and keep the reference count correct. The recommended way for a class to store a c2_function which is handed in from the outside is for it to have a c2_ptr member into which the passed-in function is stored. This way, when the class instance is deleted, it will automatically dereference any function which it was handed. More...
 
class  c2_ptr< float_type >
 create a container for a c2_function which handles the reference counting. More...
 
class  c2_typed_ptr< float_type, c2_class >
 create a non-generic container for a c2_function which handles the reference counting. More...
 
class  c2_plugin_function_p< float_type >
 a container into which any other c2_function can be dropped, to allow expressions with replacable components.It is useful for plugging different InterpolatingFunctions into a c2_function expression. It saves a lot of effort in other places with casting away const declarations. More...
 
class  c2_const_plugin_function_p< float_type >
 a c2_plugin_function_p which promises not to fiddle with the plugged function.The factory function c2_factory::const_plugin_function() creates *new c2_const_plugin_function_p() More...
 
class  c2_scaled_function_p< float_type >
 Create a very lightweight method to return a scalar multiple of another function. \ \The factory function c2_factory::scaled_function() creates *new c2_scaled_function_p. More...
 
class  c2_cached_function_p< float_type >
 A container into which any other c2_function can be dropped.It allows a function to be pre-evaluated at a point, and used at multiple places in an expression efficiently. If it is re-evaluated at the previous point, it returns the remembered values; otherwise, it re-evauates the function at the new point. More...
 
class  c2_inverse_function_p< float_type >
 create the formal inverse function of another functionfor example, given a c2_function f More...
 
class  c2_piecewise_function_p< float_type >
 create a c2_function which is a piecewise assembly of other c2_functions.The functions must have increasing, non-overlapping domains. Any empty space between functions will be filled with a linear interpolation. More...
 

Detailed Description