27 std::vector<double> *tmp;
28 std::vector<double>::iterator j;
31 for (j=tmp->begin(); j!= tmp->end(); j++)
32 std::cout << *j <<
" " ;
33 std::cout << std::endl <<
"->";
36 for (j=tmp->begin(); j!= tmp->end(); j++)
37 std::cout <<
" " << *j ;
38 std::cout << std::endl ;
52 a[
i] = borne[
i].second - borne[
i].first;
53 b[
i] = borne[
i].first;
60 std::vector<double> *ret;
63 ret =
new std::vector<double>(
size);
65 (*ret)[
i] =
a[
i]*in[
i] +
b[
i];
72 std::vector<double> *ret;
75 ret =
new std::vector<double>(
size);
77 (*ret)[
i] = (in[
i] -
b[
i]) /
a[
i];
virtual std::vector< double > * decode(std::vector< double > &)=0
LinearDecoder(std::vector< std::pair< double, double > > &)
virtual std::vector< double > * code(std::vector< double > &)
virtual std::vector< double > * decode(std::vector< double > &)
std::vector< double > * obj
std::vector< double > * param