GQCP
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
GQCP::Function< _OutputType, _InputType > Class Template Referenceabstract

#include <Function.hpp>

Inheritance diagram for GQCP::Function< _OutputType, _InputType >:
Inheritance graph
Collaboration diagram for GQCP::Function< _OutputType, _InputType >:
Collaboration graph

Public Types

using OutputType = _OutputType
 
using InputType = _InputType
 

Public Member Functions

virtual ~Function ()=default
 
virtual OutputType operator() (const InputType &in) const =0
 

Detailed Description

template<typename _OutputType, typename _InputType>
class GQCP::Function< _OutputType, _InputType >

A type that represents a mathematical function through its operator().

Template Parameters
_OutputTypeThe return type of the operator().
_InputTypeThe input type of the operator().

Member Typedef Documentation

◆ InputType

template<typename _OutputType , typename _InputType >
using GQCP::Function< _OutputType, _InputType >::InputType = _InputType

◆ OutputType

template<typename _OutputType , typename _InputType >
using GQCP::Function< _OutputType, _InputType >::OutputType = _OutputType

Constructor & Destructor Documentation

◆ ~Function()

template<typename _OutputType , typename _InputType >
virtual GQCP::Function< _OutputType, _InputType >::~Function ( )
virtualdefault

The default destructor.

Member Function Documentation

◆ operator()()

template<typename _OutputType , typename _InputType >
virtual OutputType GQCP::Function< _OutputType, _InputType >::operator() ( const InputType in) const
pure virtual

Evaluate this function for the given argument.

Parameters
inThe argument at which the function is to be evaluated.
Returns
The function value for the given argument.

Implemented in GQCP::FunctionProduct< T1, T2 >.


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