CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
funct::MinusStruct< A > Struct Template Reference

#include <Minus.h>

Public Member Functions

 MinusStruct ()
 
 MinusStruct (const A &a)
 
 operator double () const
 
double operator() () const
 
double operator() (double x) const
 
double operator() (double x, double y) const
 

Public Attributes

A _
 

Detailed Description

template<typename A>
struct funct::MinusStruct< A >

Definition at line 7 of file Minus.h.

Constructor & Destructor Documentation

template<typename A >
funct::MinusStruct< A >::MinusStruct ( )
inline

Definition at line 8 of file Minus.h.

8 : _() { }
template<typename A >
funct::MinusStruct< A >::MinusStruct ( const A a)
inline

Definition at line 9 of file Minus.h.

9 : _(a) { }
double a
Definition: hdecay.h:121

Member Function Documentation

template<typename A >
funct::MinusStruct< A >::operator double ( ) const
inline

Definition at line 10 of file Minus.h.

References funct::MinusStruct< A >::_.

10  {
11  return - _();
12  }
template<typename A >
double funct::MinusStruct< A >::operator() ( ) const
inline

Definition at line 13 of file Minus.h.

References funct::MinusStruct< A >::_.

13  {
14  return - _();
15  }
template<typename A >
double funct::MinusStruct< A >::operator() ( double  x) const
inline

Definition at line 16 of file Minus.h.

References funct::MinusStruct< A >::_.

16  {
17  return - _(x);
18  }
template<typename A >
double funct::MinusStruct< A >::operator() ( double  x,
double  y 
) const
inline

Definition at line 19 of file Minus.h.

References funct::MinusStruct< A >::_.

19  {
20  return - _(x, y);
21  }

Member Data Documentation

template<typename A >
A funct::MinusStruct< A >::_