Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
c2_transformation_linear< float_type > Class Template Reference

the identity transform More...

#include <c2_function.hh>

Inheritance diagram for c2_transformation_linear< float_type >:
Collaboration diagram for c2_transformation_linear< float_type >:

Public Member Functions

 c2_transformation_linear ()
 constructor More...
 
virtual ~c2_transformation_linear ()
 destructor More...
 
- Public Member Functions inherited from c2_transformation< float_type >
 c2_transformation (bool transformed, float_type(*xin)(float_type), float_type(*xinp)(float_type), float_type(*xinpp)(float_type), float_type(*xout)(float_type))
 initialize all our function pointers More...
 
 c2_transformation (bool transformed)
 initialize all our function pointers so that only the (overridden) virtual functions can be called without an error More...
 
virtual ~c2_transformation ()
 the destructor More...
 
virtual float_type fIn (float_type x) const
 virtual input X transform More...
 
virtual float_type fInPrime (float_type x) const
 virtual input X transform derivative More...
 
virtual float_type fInDPrime (float_type x) const
 virtual input X transform second derivative More...
 
virtual float_type fOut (float_type x) const
 virtual output X transform More...
 

Additional Inherited Members

- Public Attributes inherited from c2_transformation< float_type >
const bool fTransformed
 flag to indicate if this transform is not the identity More...
 
const bool fHasStaticTransforms
 flag to indicate if the static function pointers can be used for efficiency More...
 
float_type(*const pIn )(float_type)
 non-virtual pointer to input X transform More...
 
float_type(*const pInPrime )(float_type)
 non-virtual pointer to input X transform derivative More...
 
float_type(*const pInDPrime )(float_type)
 non-virtual pointer to input X transform second derivative More...
 
float_type(*const pOut )(float_type)
 non-virtual pointer to output X transform More...
 
- Static Protected Member Functions inherited from c2_transformation< float_type >
static float_type report_error (float_type x)
 utility function for unimplemented conversion More...
 
static float_type ident (float_type x)
 utility function f(x)=x useful in axis transforms More...
 
static float_type one (float_type)
 utility function f(x)=1 useful in axis transforms More...
 
static float_type zero (float_type)
 utility function f(x)=0 useful in axis transforms More...
 
static float_type recip (float_type x)
 utility function f(x)=1/x useful in axis transforms More...
 
static float_type recip_prime (float_type x)
 utility function f(x)=-1/x**2 useful in axis transforms More...
 
static float_type recip_prime2 (float_type x)
 utility function f(x)=2/x**3 useful in axis transforms More...
 

Detailed Description

template<typename float_type>
class c2_transformation_linear< float_type >

the identity transform

Definition at line 1332 of file c2_function.hh.

Constructor & Destructor Documentation

template<typename float_type >
c2_transformation_linear< float_type >::c2_transformation_linear ( )
inline

constructor

Definition at line 1336 of file c2_function.hh.

1337  false, this->ident,
1338  this->one, this->zero,
1339  this->ident) { }
static float_type zero(float_type)
utility function f(x)=0 useful in axis transforms
static float_type ident(float_type x)
utility function f(x)=x useful in axis transforms
static float_type one(float_type)
utility function f(x)=1 useful in axis transforms
a transformation of a coordinate, including an inverse
template<typename float_type >
virtual c2_transformation_linear< float_type >::~c2_transformation_linear ( )
inlinevirtual

destructor

Definition at line 1341 of file c2_function.hh.

1341 { }

The documentation for this class was generated from the following file: