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) {}

Member Function Documentation

◆ operator double()

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

Definition at line 10 of file Minus.h.

10 { return -_(); }

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

◆ operator()() [1/3]

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

Definition at line 11 of file Minus.h.

11 { return -_(); }

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

◆ operator()() [2/3]

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

Definition at line 12 of file Minus.h.

12 { return -_(x); }

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

◆ 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.

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

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

Member Data Documentation

◆ _

template<typename A >
A funct::MinusStruct< A >::_
DDAxes::y
DDAxes::x
a
double a
Definition: hdecay.h:119
funct::MinusStruct::_
A _
Definition: Minus.h:14