CMS 3D CMS Logo

Public Member Functions | Public Attributes

funct::MinusStruct< A > Struct Template Reference

#include <Minus.h>

List of all members.

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.

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

Definition at line 9 of file Minus.h.

: _(a) { }

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 >::_.

                            {
      return - _();
    }
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 >::_.

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

Definition at line 16 of file Minus.h.

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

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

Definition at line 13 of file Minus.h.

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

                              {
      return - _();
    }

Member Data Documentation

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