|
YAP
|
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 > | |
| IntegralElement & | operator*= (const U &rhs) |
| multiplication (by T) assignment operator | |
| IntegralElement & | operator+= (const IntegralElement &B) |
| addition assignment operator | |
| IntegralElement & | operator- () const |
| unary minus operator | |
| IntegralElement & | operator-= (const IntegralElement &B) |
| subtraction assignment operator | |
| IntegralElement & | operator*= (const IntegralElement &B) |
| multiplication assignment operator | |
| IntegralElement & | operator/= (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 | |
| T | 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 | |
Holds the values of a component of an integral.
|
inlineexplicit |
constructor
| val | initial value of integral component |
1.8.6