OPAL (Object Oriented Parallel Accelerator Library)  2021.1.99
OPAL
Classes | Functions
Tps.h File Reference
#include <iosfwd>
#include <climits>
Include dependency graph for Tps.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Tps< T >
 Truncated power series. More...
 

Functions

template<class T >
Tps< T > operator+ (const Tps< T > &x, const Tps< T > &y)
 Add. More...
 
template<class T >
Tps< T > operator- (const Tps< T > &x, const Tps< T > &y)
 Subtract. More...
 
template<class T >
Tps< T > operator+ (const Tps< T > &x, const T &y)
 Add. More...
 
template<class T >
Tps< T > operator- (const Tps< T > &x, const T &y)
 Subtract. More...
 
template<class T >
Tps< T > operator+ (const T &x, const Tps< T > &y)
 Add. More...
 
template<class T >
Tps< T > operator- (const T &x, const Tps< T > &y)
 Subtract. More...
 
template<class T >
Tps< T > operator* (const Tps< T > &x, const Tps< T > &y)
 Multiply. More...
 
template<class T >
Tps< T > operator/ (const Tps< T > &x, const Tps< T > &y)
 Divide. More...
 
template<class T >
Tps< T > operator* (const Tps< T > &x, const T &y)
 Multiply. More...
 
template<class T >
Tps< T > operator/ (const Tps< T > &x, const T &y)
 Divide. More...
 
template<class T >
Tps< T > operator* (const T &x, const Tps< T > &y)
 Multiply. More...
 
template<class T >
Tps< T > operator/ (const T &x, const Tps< T > &y)
 Divide. More...
 
template<class T >
bool operator== (const T &x, const Tps< T > &y)
 Test for equality. More...
 
template<class T >
std::istream & operator>> (std::istream &, Tps< T > &x)
 Extract from stream. More...
 
template<class T >
std::ostream & operator<< (std::ostream &, const Tps< T > &x)
 Insert to stream. More...
 

Function Documentation

◆ operator*() [1/3]

template<class T >
Tps< T > operator* ( const T &  x,
const Tps< T > &  y 
)

Multiply.

Definition at line 367 of file Tps.h.

◆ operator*() [2/3]

template<class T >
Tps< T > operator* ( const Tps< T > &  x,
const T &  y 
)

Multiply.

Definition at line 361 of file Tps.h.

◆ operator*() [3/3]

template<class T >
Tps< T > operator* ( const Tps< T > &  x,
const Tps< T > &  y 
)

Multiply.

Definition at line 355 of file Tps.h.

◆ operator+() [1/3]

template<class T >
Tps< T > operator+ ( const T &  x,
const Tps< T > &  y 
)
inline

Add.

Definition at line 348 of file Tps.h.

◆ operator+() [2/3]

template<class T >
Tps< T > operator+ ( const Tps< T > &  x,
const T &  y 
)
inline

Add.

Definition at line 340 of file Tps.h.

◆ operator+() [3/3]

template<class T >
Tps< T > operator+ ( const Tps< T > &  x,
const Tps< T > &  y 
)

Add.

Definition at line 333 of file Tps.h.

◆ operator-() [1/3]

template<class T >
Tps< T > operator- ( const T &  x,
const Tps< T > &  y 
)

Subtract.

Definition at line 352 of file Tps.h.

◆ operator-() [2/3]

template<class T >
Tps< T > operator- ( const Tps< T > &  x,
const T &  y 
)
inline

Subtract.

Definition at line 344 of file Tps.h.

◆ operator-() [3/3]

template<class T >
Tps< T > operator- ( const Tps< T > &  x,
const Tps< T > &  y 
)

Subtract.

Definition at line 336 of file Tps.h.

◆ operator/() [1/3]

template<class T >
Tps< T > operator/ ( const T &  x,
const Tps< T > &  y 
)

Divide.

Definition at line 370 of file Tps.h.

References Tps< T >::inverse().

Here is the call graph for this function:

◆ operator/() [2/3]

template<class T >
Tps< T > operator/ ( const Tps< T > &  x,
const T &  y 
)

Divide.

Definition at line 364 of file Tps.h.

◆ operator/() [3/3]

template<class T >
Tps< T > operator/ ( const Tps< T > &  x,
const Tps< T > &  y 
)

Divide.

Definition at line 358 of file Tps.h.

◆ operator<<()

template<class T >
std::ostream & operator<< ( std::ostream &  os,
const Tps< T > &  x 
)

Insert to stream.

Definition at line 379 of file Tps.h.

References Tps< T >::put().

Here is the call graph for this function:

◆ operator==()

template<class T >
bool operator== ( const T &  x,
const Tps< T > &  y 
)

Test for equality.

Definition at line 373 of file Tps.h.

◆ operator>>()

template<class T >
std::istream & operator>> ( std::istream &  is,
Tps< T > &  x 
)

Extract from stream.

Definition at line 376 of file Tps.h.

References Tps< T >::get().

Here is the call graph for this function: