1 #ifndef __JTOOLS__JRESULT__
2 #define __JTOOLS__JRESULT__
23 namespace JPP {
using namespace JTOOLS; }
39 template<
class JResult_t>
151 double getP(
const bool hit)
const
156 return 1.0 -
getP(
false);
172 return -log(
getP(
true));
210 template<
class JResult_t>
262 v (R * (X.constrain(x) - X.getLowerLimit())),
263 V (R * (X.getUpperLimit() - X.getLowerLimit()))
360 return exp(-
v) *
f / (1.0 - exp(-
V));
406 template<
unsigned int N,
class JResult_t>
664 template<
unsigned int N,
class T>
747 template<
class JResult_t>
760 template<
class JResult_t>
773 template<
class JResult_t>
Auxiliary base class for aritmetic operations of derived class types.
static const JZero zero
Function object to assign zero value.
Definition of zero value for any class.
JArgument< T >::argument_type argument_type
Auxiliary class to define a range between two values.
Base class for data structures with artithmetic capabilities.