OPAL (Object Oriented Parallel Accelerator Library)  2.2.0
OPAL
Functions
LinearFun.hpp File Reference
#include "FixedAlgebra/LinearFun.h"
#include "FixedAlgebra/FMatrix.h"
#include "FixedAlgebra/FVector.h"
#include "Utilities/DivideError.h"
#include "Utilities/FormatError.h"
#include <iomanip>
#include <iostream>
#include <cstring>
#include <functional>
Include dependency graph for LinearFun.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

template<class T , int N>
LinearFun< T, N > operator+ (const LinearFun< T, N > &lhs, const LinearFun< T, N > &rhs)
 Add. More...
 
template<class T , int N>
LinearFun< T, N > operator- (const LinearFun< T, N > &lhs, const LinearFun< T, N > &rhs)
 Subtract. More...
 
template<class T , int N>
LinearFun< T, N > operator+ (const LinearFun< T, N > &lhs, const T &rhs)
 Add. More...
 
template<class T , int N>
LinearFun< T, N > operator- (const LinearFun< T, N > &lhs, const T &rhs)
 Subtract. More...
 
template<class T , int N>
LinearFun< T, N > operator+ (const T &lhs, const LinearFun< T, N > &rhs)
 Add. More...
 
template<class T , int N>
LinearFun< T, N > operator- (const T &lhs, const LinearFun< T, N > &rhs)
 Subtract. More...
 
template<class T , int N>
LinearFun< T, N > operator* (const LinearFun< T, N > &lhs, const LinearFun< T, N > &rhs)
 Multiply. More...
 
template<class T , int N>
LinearFun< T, N > operator/ (const LinearFun< T, N > &lhs, const LinearFun< T, N > &rhs)
 Divide. More...
 
template<class T , int N>
LinearFun< T, N > operator* (const LinearFun< T, N > &lhs, const T &rhs)
 Multiply. More...
 
template<class T , int N>
LinearFun< T, N > operator/ (const LinearFun< T, N > &lhs, const T &rhs)
 Divide. More...
 
template<class T , int N>
LinearFun< T, N > operator* (const T &lhs, const LinearFun< T, N > &rhs)
 Multiply. More...
 
template<class T , int N>
LinearFun< T, N > operator/ (const T &lhs, const LinearFun< T, N > &rhs)
 Divide 1 / LinearFun. More...
 
template<class T , int N>
bool operator== (const T &lhs, const LinearFun< T, N > &rhs)
 Equality. More...
 
template<class T , int N>
bool operator!= (const T &lhs, const LinearFun< T, N > &rhs)
 Inequality. More...
 
template<class T , int N>
std::istream & operator>> (std::istream &is, LinearFun< T, N > &tps)
 Extract LinearFun from stream [b]is[/b]. More...
 
template<class T , int N>
std::ostream & operator<< (std::ostream &os, const LinearFun< T, N > &tps)
 Insert LinearFun to stream [b]os[/b]. More...
 

Function Documentation

template<class T , int N>
bool operator!= ( const T lhs,
const LinearFun< T, N > &  rhs 
)
inline

Inequality.

Definition at line 463 of file LinearFun.hpp.

template<class T , int N>
LinearFun<T, N> operator* ( const LinearFun< T, N > &  lhs,
const LinearFun< T, N > &  rhs 
)
inline

Multiply.

Definition at line 418 of file LinearFun.hpp.

References LinearFun< T, N >::multiply().

Here is the call graph for this function:

template<class T , int N>
LinearFun<T, N> operator* ( const LinearFun< T, N > &  lhs,
const T rhs 
)
inline

Multiply.

Definition at line 430 of file LinearFun.hpp.

template<class T , int N>
LinearFun<T, N> operator* ( const T lhs,
const LinearFun< T, N > &  rhs 
)
inline

Multiply.

Definition at line 444 of file LinearFun.hpp.

template<class T , int N>
LinearFun<T, N> operator+ ( const LinearFun< T, N > &  lhs,
const LinearFun< T, N > &  rhs 
)
inline

Add.

Definition at line 376 of file LinearFun.hpp.

template<class T , int N>
LinearFun<T, N> operator+ ( const LinearFun< T, N > &  lhs,
const T rhs 
)
inline

Add.

Definition at line 390 of file LinearFun.hpp.

template<class T , int N>
LinearFun<T, N> operator+ ( const T lhs,
const LinearFun< T, N > &  rhs 
)
inline

Add.

Definition at line 404 of file LinearFun.hpp.

template<class T , int N>
LinearFun<T, N> operator- ( const LinearFun< T, N > &  lhs,
const LinearFun< T, N > &  rhs 
)
inline

Subtract.

Definition at line 383 of file LinearFun.hpp.

template<class T , int N>
LinearFun<T, N> operator- ( const LinearFun< T, N > &  lhs,
const T rhs 
)
inline

Subtract.

Definition at line 397 of file LinearFun.hpp.

template<class T , int N>
LinearFun<T, N> operator- ( const T lhs,
const LinearFun< T, N > &  rhs 
)
inline

Subtract.

Definition at line 411 of file LinearFun.hpp.

template<class T , int N>
LinearFun<T, N> operator/ ( const LinearFun< T, N > &  lhs,
const LinearFun< T, N > &  rhs 
)
inline

Divide.

Definition at line 424 of file LinearFun.hpp.

References LinearFun< T, N >::inverse(), and LinearFun< T, N >::multiply().

Here is the call graph for this function:

template<class T , int N>
LinearFun<T, N> operator/ ( const LinearFun< T, N > &  lhs,
const T rhs 
)
inline

Divide.

Definition at line 437 of file LinearFun.hpp.

template<class T , int N>
LinearFun<T, N> operator/ ( const T lhs,
const LinearFun< T, N > &  rhs 
)
inline

Divide 1 / LinearFun.

Definition at line 451 of file LinearFun.hpp.

References LinearFun< T, N >::inverse().

Here is the call graph for this function:

template<class T , int N>
std::ostream& operator<< ( std::ostream &  os,
const LinearFun< T, N > &  tps 
)
inline

Insert LinearFun to stream [b]os[/b].

Definition at line 475 of file LinearFun.hpp.

template<class T , int N>
bool operator== ( const T lhs,
const LinearFun< T, N > &  rhs 
)
inline

Equality.

Definition at line 457 of file LinearFun.hpp.

template<class T , int N>
std::istream& operator>> ( std::istream &  is,
LinearFun< T, N > &  tps 
)
inline

Extract LinearFun from stream [b]is[/b].

Definition at line 469 of file LinearFun.hpp.

References LinearFun< T, N >::get().

Here is the call graph for this function: