CVM Class Library  8.1
This C++ class library encapsulates concepts of vector and different matrices including square, band, symmetric and hermitian ones in Euclidean space of real and complex numbers.
 All Classes Files Functions Variables Typedefs Friends Macros Pages
Public Member Functions | Protected Types | Protected Attributes | List of all members
BinaryFunction< T > Class Template Reference

Generic binary function (not end-user) More...

#include <cfun.h>

Inheritance diagram for BinaryFunction< T >:
Inheritance graph
[legend]
Collaboration diagram for BinaryFunction< T >:
Collaboration graph
[legend]

Public Member Functions

 BinaryFunction ()
 Constructor.
 BinaryFunction (const BinaryFunction< T > &rfSrc)
 Copy constructor.
 BinaryFunction (BinaryFunction< T > &&rfSrc)
 Move constructor.
 BinaryFunction (const BaseFunction< T > &rfSrc0, const BaseFunction< T > &rfSrc1)
 Constructor.
 BinaryFunction (const BasePointer &pfSrc0, const BasePointer &pfSrc1)
 Constructor.
 BinaryFunction (const std::string &sArg1, const std::string &sArg2, const string_array &saVars, const string_array &saParameters, const string_array &saMeanings)
 Constructor.
 BinaryFunction (const std::string &sArgs, size_t nF1, size_t nL1, size_t nF2, size_t nL2, const string_array &saVars, const string_array &saParameters, const string_array &saMeanings)
 Constructor.
 BinaryFunction (const std::string &sArg, size_t nFirst, size_t nLast, const string_array &saVars, const string_array &saParameters, const string_array &saMeanings)
 Constructor.
BinaryFunctionoperator= (const BinaryFunction< T > &rfSrc)
 Assignment operator.
BinaryFunctionoperator= (BinaryFunction< T > &&rfSrc)
 Move assignment operator.
- Public Member Functions inherited from UnaryFunction< T >
 UnaryFunction ()
 Default constructor.
 UnaryFunction (const UnaryFunction< T > &rfSrc)
 Copy constructor.
 UnaryFunction (UnaryFunction< T > &&rfSrc)
 Move constructor.
 UnaryFunction (const BasePointer &pfSrc)
 Constructor.
 UnaryFunction (BasePointer &&pfSrc)
 UnaryFunction (const std::string &sArg, const string_array &saVars, const string_array &saParameters, const string_array &saMeanings)
 Constructor.
 UnaryFunction (const std::string &sArg, size_t nF, size_t nL, const string_array &saVars, const string_array &saParameters, const string_array &saMeanings)
 Constructor.
UnaryFunctionoperator= (const UnaryFunction< T > &rfSrc)
 Assignment operator.
UnaryFunctionoperator= (UnaryFunction< T > &&rfSrc)
 Move assignment operator.
- Public Member Functions inherited from BaseFunction< T >
 BaseFunction ()
 Default constructor.
virtual ~BaseFunction ()
 Destructor.

Protected Types

typedef UnaryFunction< T >
::BasePointer 
BasePointer
 Shared pointer to BaseFunction.
- Protected Types inherited from UnaryFunction< T >
typedef BaseFunction< T >
::BasePointer 
BasePointer
 Shared pointer to BaseFunction.
- Protected Types inherited from BaseFunction< T >
typedef FunctionFactory< T >
::BasePointer 
BasePointer
 Shared pointer to BaseFunction.

Protected Attributes

BasePointer mf1
 Pointer to function's second argument. If this instance is A+B then mf0 points to A and mf1 points to B.
- Protected Attributes inherited from UnaryFunction< T >
BasePointer mf0
 Pointer to function's argument. If this instance is sin(A) then mf0 points to A.

Detailed Description

template<typename T>
class BinaryFunction< T >

Generic binary function (not end-user)

T type stands for treal or tcomplex. Please use inherited function classes.

See Also
basic_function

Definition at line 1264 of file cfun.h.

Member Typedef Documentation

template<typename T>
typedef UnaryFunction<T>::BasePointer BinaryFunction< T >::BasePointer
protected

Shared pointer to BaseFunction.

Definition at line 1267 of file cfun.h.

Constructor & Destructor Documentation

template<typename T>
BinaryFunction< T >::BinaryFunction ( )
inline

Constructor.

Definition at line 1294 of file cfun.h.

template<typename T>
BinaryFunction< T >::BinaryFunction ( const BinaryFunction< T > &  rfSrc)
inline

Copy constructor.

Definition at line 1302 of file cfun.h.

template<typename T>
BinaryFunction< T >::BinaryFunction ( BinaryFunction< T > &&  rfSrc)
inline

Move constructor.

Definition at line 1311 of file cfun.h.

template<typename T>
BinaryFunction< T >::BinaryFunction ( const BaseFunction< T > &  rfSrc0,
const BaseFunction< T > &  rfSrc1 
)
inline

Constructor.

Definition at line 1320 of file cfun.h.

template<typename T>
BinaryFunction< T >::BinaryFunction ( const BasePointer pfSrc0,
const BasePointer pfSrc1 
)
inline

Constructor.

Definition at line 1329 of file cfun.h.

template<typename T>
BinaryFunction< T >::BinaryFunction ( const std::string &  sArg1,
const std::string &  sArg2,
const string_array saVars,
const string_array saParameters,
const string_array saMeanings 
)
inline

Constructor.

Definition at line 1338 of file cfun.h.

template<typename T>
BinaryFunction< T >::BinaryFunction ( const std::string &  sArgs,
size_t  nF1,
size_t  nL1,
size_t  nF2,
size_t  nL2,
const string_array saVars,
const string_array saParameters,
const string_array saMeanings 
)
inline

Constructor.

Definition at line 1349 of file cfun.h.

template<typename T>
BinaryFunction< T >::BinaryFunction ( const std::string &  sArg,
size_t  nFirst,
size_t  nLast,
const string_array saVars,
const string_array saParameters,
const string_array saMeanings 
)
inline

Constructor.

Definition at line 1361 of file cfun.h.

Member Function Documentation

template<typename T>
BinaryFunction& BinaryFunction< T >::operator= ( const BinaryFunction< T > &  rfSrc)
inline

Assignment operator.

Definition at line 1376 of file cfun.h.

template<typename T>
BinaryFunction& BinaryFunction< T >::operator= ( BinaryFunction< T > &&  rfSrc)
inline

Move assignment operator.

Definition at line 1386 of file cfun.h.

Member Data Documentation

template<typename T>
BasePointer BinaryFunction< T >::mf1
protected

Pointer to function's second argument. If this instance is A+B then mf0 points to A and mf1 points to B.

Definition at line 1268 of file cfun.h.


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