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

◆ MinusStruct() [1/2]

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

Definition at line 8 of file Minus.h.

8 : _() {}

◆ MinusStruct() [2/2]

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:119

Member Function Documentation

◆ operator double()

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

Definition at line 10 of file Minus.h.

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

10 { return -_(); }

◆ operator()() [1/3]

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

Definition at line 11 of file Minus.h.

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

11 { return -_(); }

◆ operator()() [2/3]

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

Definition at line 12 of file Minus.h.

References funct::MinusStruct< A >::_, and x.

12 { return -_(x); }

◆ operator()() [3/3]

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

Definition at line 13 of file Minus.h.

References funct::MinusStruct< A >::_, and x.

13 { return -_(x, y); }

Member Data Documentation

◆ _

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