Namespace of functions from point to value. More...
Classes | |
struct | iota |
struct | ternary_ |
Functions | |
template<typename T1 , typename N1 , typename T2 , typename N2 , typename O > | |
ternary_< T1, N1, ternary_< T2, N2, O > > | elifs (const Function_v2b< T1 > &f_if_1, const Function_v2v< N1 > &f_then_1, const Function_v2b< T2 > &f_if_2, const Function_v2v< N2 > &f_then_2, const Function_v2v< O > &f_otherwise) |
template<typename P , typename T , typename F > | |
ternary_< P, T, F > | ternary (const Function_v2b< P > &f_pred, const Function_v2v< T > &f_true, const Function_v2v< F > &f_false) |
Namespace of functions from point to value.
ternary_< T1, N1, ternary_< T2, N2, O > > mln::fun::p2v::elifs | ( | const Function_v2b< T1 > & | f_if_1, | |
const Function_v2v< N1 > & | f_then_1, | |||
const Function_v2b< T2 > & | f_if_2, | |||
const Function_v2v< N2 > & | f_then_2, | |||
const Function_v2v< O > & | f_otherwise | |||
) | [inline] |
ternary_< P, T, F > mln::fun::p2v::ternary | ( | const Function_v2b< P > & | f_pred, | |
const Function_v2v< T > & | f_true, | |||
const Function_v2v< F > & | f_false | |||
) | [inline] |
References mln::exact().
Referenced by mln::morpho::impl::generic::hit_or_miss().