$extrastylesheet
#include <mln/pw/bind.hh>
Public Member Functions | |
unary_bound_fun_ (const Function_v2v< F > &f, const Function_v2v< PW > &pw) | |
template<typename P > | |
result | operator() (const P &p) const |
Protected Attributes | |
const F | f_ |
const PW | pw_ |
Public Types | |
typedef F::result | result |
Point-wise unary function binding.
This point-wise class is actually a function object embedding a Milena function (functor) and another point-wise expression. Its operator() returns the application of the embedded function to the embedded point-wise expression.
mln::pw::unary_bound_fun_< F, PW >::unary_bound_fun_ | ( | const Function_v2v< F > & | f, |
const Function_v2v< PW > & | pw | ||
) |
result mln::pw::unary_bound_fun_< F, PW >::operator() | ( | const P & | p | ) | const |
|
protected |
|
protected |
typedef F::result mln::pw::unary_bound_fun_< F, PW >::result |