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
UnaryFunction< T > Class Template Reference

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

#include <cfun.h>

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

Public Member Functions

 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 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 mf0
 Pointer to function's argument. If this instance is sin(A) then mf0 points to A.

Detailed Description

template<typename T>
class UnaryFunction< T >

Generic unary function (not end-user)

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

See Also
basic_function

Definition at line 1140 of file cfun.h.

Member Typedef Documentation

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

Shared pointer to BaseFunction.

Definition at line 1143 of file cfun.h.

Constructor & Destructor Documentation

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

Default constructor.

Creates empty function. No memory gets allocated.

Definition at line 1157 of file cfun.h.

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

Copy constructor.

Definition at line 1165 of file cfun.h.

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

Move constructor.

Definition at line 1173 of file cfun.h.

template<typename T>
UnaryFunction< T >::UnaryFunction ( const BasePointer pfSrc)
inline

Constructor.

Definition at line 1181 of file cfun.h.

template<typename T>
UnaryFunction< T >::UnaryFunction ( BasePointer &&  pfSrc)
inline

Definition at line 1186 of file cfun.h.

template<typename T>
UnaryFunction< T >::UnaryFunction ( const std::string &  sArg,
const string_array saVars,
const string_array saParameters,
const string_array saMeanings 
)
inline

Constructor.

Definition at line 1194 of file cfun.h.

template<typename T>
UnaryFunction< T >::UnaryFunction ( const std::string &  sArg,
size_t  nF,
size_t  nL,
const string_array saVars,
const string_array saParameters,
const string_array saMeanings 
)
inline

Constructor.

Definition at line 1203 of file cfun.h.

Member Function Documentation

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

Assignment operator.

Definition at line 1212 of file cfun.h.

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

Move assignment operator.

Definition at line 1221 of file cfun.h.

Member Data Documentation

template<typename T>
BasePointer UnaryFunction< T >::mf0
protected

Pointer to function's argument. If this instance is sin(A) then mf0 points to A.

Definition at line 1144 of file cfun.h.


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