Helper for describing a non bijective composition. More...
#include <composed.hh>
Public Types | |
typedef T2::result | argument |
typedef Function_v2v< void > | category |
typedef T2::data_t | data_t |
Type of the underlying data stored in vectors and matrices. | |
typedef E | exact_t |
typedef algebra::h_mat< dim, T2::data_t > | matrix |
typedef void | mutable_result |
typedef T2::result | result |
typedef fun::internal::x2x_linear_impl_ < typename T2::result, typename T2::data_t, E > | super_ |
Public Member Functions | |
const T1 & | first () const |
Set the new first transformation. | |
helper_composed_ (const T2 &f, const T1 &g) | |
Constructor with the two transformation to be composed. | |
helper_composed_ () | |
Constructor without argument. | |
const matrix & | mat () const |
T2::result | operator() (const T2::result &x) const |
const T2 & | second () const |
Set the new second transformation. | |
void | set_first (const T1 &g) |
Set the new first transformation. | |
void | set_second (const T2 &f) |
Set the new second transformation. | |
Public Attributes | |
T2 | f_ |
T1 | g_ |
Static Public Attributes | |
static const unsigned | dim |
Protected Attributes | |
matrix | m_ |
Helper for describing a non bijective composition.
Definition at line 104 of file composed.hh.
typedef T2::result mln::fun::internal::x2x_linear_impl_< T2::result , T2::data_t , E >::argument [inherited] |
Definition at line 53 of file x2x_linear_impl.hh.
typedef Function_v2v<void> mln::Function_v2v< E >::category [inherited] |
Reimplemented from mln::Function< E >.
Reimplemented in mln::Function_v2b< E >, mln::Function_v2b< f_box2d_t >, mln::Function_v2b< dashed_line_f< I, dim > >, mln::Function_v2b< chess >, mln::Function_v2b< is_dot >, mln::Function_v2b< has< I > >, mln::Function_v2b< is_edge >, mln::Function_v2b< is_row_odd >, mln::Function_v2b< big_chess< B > >, mln::Function_v2b< keep_specific_colors >, mln::Function_v2b< my_box2d >, mln::Function_v2b< is_pixel >, mln::Function_v2b< is_n_face< N > >, mln::Function_v2b< is_separator >, mln::Function_v2b< is_simple_cell< I > >, mln::Function_v2b< tautology >, mln::Function_v2b< not_to_remove >, mln::Function_v2b< f_box1d_t >, mln::Function_v2b< threshold< V > >, mln::Function_v2b< lnot< V > >, mln::Function_v2b< f_box3d_t >, and mln::Function_v2b< antilogy >.
Definition at line 126 of file function.hh.
typedef T2::data_t mln::fun::x2x::internal::helper_composed_< T2, T1, E, false >::data_t |
Type of the underlying data stored in vectors and matrices.
Definition at line 112 of file composed.hh.
typedef E mln::Object< E >::exact_t [inherited] |
typedef algebra::h_mat<dim, T2::data_t > mln::fun::internal::x2x_linear_impl_< T2::result , T2::data_t , E >::matrix [inherited] |
Definition at line 55 of file x2x_linear_impl.hh.
typedef void mln::Function_v2v< E >::mutable_result [inherited] |
Definition at line 127 of file function.hh.
typedef T2::result mln::fun::internal::x2x_linear_impl_< T2::result , T2::data_t , E >::result [inherited] |
Definition at line 54 of file x2x_linear_impl.hh.
typedef fun::internal::x2x_linear_impl_<typename T2::result, typename T2::data_t, E > mln::fun::x2x::internal::helper_composed_< T2, T1, E, false >::super_ |
Definition at line 108 of file composed.hh.
mln::fun::x2x::internal::helper_composed_< T2, T1, E, false >::helper_composed_ | ( | ) | [inline] |
Constructor without argument.
Definition at line 250 of file composed.hh.
mln::fun::x2x::internal::helper_composed_< T2, T1, E, false >::helper_composed_ | ( | const T2 & | f, | |
const T1 & | g | |||
) | [inline] |
Constructor with the two transformation to be composed.
Definition at line 256 of file composed.hh.
const T1 & mln::fun::x2x::internal::helper_composed_< T2, T1, E, false >::first | ( | ) | const [inline] |
Set the new first transformation.
Definition at line 292 of file composed.hh.
const matrix& mln::fun::internal::x2x_linear_impl_< T2::result , T2::data_t , E >::mat | ( | ) | const [inherited] |
T2::result mln::fun::internal::x2x_linear_impl_< T2::result , T2::data_t , E >::operator() | ( | const T2::result & | x | ) | const [inline, inherited] |
Definition at line 57 of file x2x_linear_impl.hh.
References mln::fun::internal::x2x_linear_impl_< V, C, E >::m_, and mln::algebra::h_vec< d, C >::to_vec().
const T2 & mln::fun::x2x::internal::helper_composed_< T2, T1, E, false >::second | ( | ) | const [inline] |
Set the new second transformation.
Definition at line 284 of file composed.hh.
void mln::fun::x2x::internal::helper_composed_< T2, T1, E, false >::set_first | ( | const T1 & | g | ) | [inline] |
Set the new first transformation.
Definition at line 275 of file composed.hh.
void mln::fun::x2x::internal::helper_composed_< T2, T1, E, false >::set_second | ( | const T2 & | f | ) | [inline] |
Set the new second transformation.
Definition at line 266 of file composed.hh.
const unsigned mln::fun::internal::x2x_linear_impl_< T2::result , T2::data_t , E >::dim [static, inherited] |
Definition at line 51 of file x2x_linear_impl.hh.
T2 mln::fun::x2x::internal::helper_composed_< T2, T1, E, false >::f_ |
Definition at line 135 of file composed.hh.
T1 mln::fun::x2x::internal::helper_composed_< T2, T1, E, false >::g_ |
Definition at line 136 of file composed.hh.
matrix mln::fun::internal::x2x_linear_impl_< T2::result , T2::data_t , E >::m_ [protected, inherited] |
Definition at line 68 of file x2x_linear_impl.hh.