YAP
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Attributes | Friends | List of all members
IntegralElement< T > Class Template Reference

Holds the values of a component of an integral. More...

#include <IntegralElement.h>

Public Member Functions

 IntegralElement (T val=0)
 
void reset ()
 reset
 
const T value () const
 access value
 
T & value ()
 access value
 
template<typename U >
IntegralElementoperator*= (const U &rhs)
 multiplication (by T) assignment operator
 
IntegralElementoperator+= (const IntegralElement &B)
 addition assignment operator
 
IntegralElementoperator- () const
 unary minus operator
 
IntegralElementoperator-= (const IntegralElement &B)
 subtraction assignment operator
 
IntegralElementoperator*= (const IntegralElement &B)
 multiplication assignment operator
 
IntegralElementoperator/= (const IntegralElement &B)
 division assignment operator
 
 operator T () const
 access value by cast
 
template<typename U >
 operator std::complex< U > () const
 access real value as complex value by cast
 
template<typename U >
 operator IntegralElement< std::complex< U > > () const
 cast into complex integral element, from real one
 

Private Attributes

Value_
 integral value
 

Friends

template<typename U >
const IntegralElement operator* (IntegralElement A, const U &B)
 multiplication operator
 
template<typename U >
const IntegralElement operator* (const U &A, IntegralElement B)
 multiplication operator
 

Detailed Description

template<typename T>
class yap::IntegralElement< T >

Holds the values of a component of an integral.

Author
Daniel Greenwald

Constructor & Destructor Documentation

IntegralElement ( val = 0)
inlineexplicit

constructor

Parameters
valinitial value of integral component

The documentation for this class was generated from the following file: