ViennaSHE 1.3.0
Free open-source semiconductor device simulator using spherical harmonics expansions techniques.
viennashe::math::BindSecond< T > Class Template Reference

Binds the second argument of a function or functor to a certain value. More...

#include <integrator.hpp>

Public Member Functions

 BindSecond (T const &func, double value)
 
double operator() (double x) const
 
double operator() (double x1, double x2) const
 
double operator() (double x1, double x2, double x3) const
 
double operator() (double x1, double x2, double x3, double x4) const
 

Detailed Description

template<typename T>
class viennashe::math::BindSecond< T >

Binds the second argument of a function or functor to a certain value.

Template Parameters
Ttype of the object for which the second argument is to be bound

Definition at line 97 of file integrator.hpp.

Constructor & Destructor Documentation

◆ BindSecond()

template<typename T >
viennashe::math::BindSecond< T >::BindSecond ( T const &  func,
double  value 
)
inline

Definition at line 100 of file integrator.hpp.

Member Function Documentation

◆ operator()() [1/4]

template<typename T >
double viennashe::math::BindSecond< T >::operator() ( double  x) const
inline

Definition at line 102 of file integrator.hpp.

◆ operator()() [2/4]

template<typename T >
double viennashe::math::BindSecond< T >::operator() ( double  x1,
double  x2 
) const
inline

Definition at line 103 of file integrator.hpp.

◆ operator()() [3/4]

template<typename T >
double viennashe::math::BindSecond< T >::operator() ( double  x1,
double  x2,
double  x3 
) const
inline

Definition at line 104 of file integrator.hpp.

◆ operator()() [4/4]

template<typename T >
double viennashe::math::BindSecond< T >::operator() ( double  x1,
double  x2,
double  x3,
double  x4 
) const
inline

Definition at line 105 of file integrator.hpp.


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