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 ;
51 for (i=0; i <
size; i++) {
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);
64 for (i=0; i<
size; i++)
65 (*ret)[
i] =
a[
i]*in[
i] +
b[
i];
72 std::vector<double> *
ret;
75 ret =
new std::vector<double>(
size);
76 for (i=0; i<
size; i++)
77 (*ret)[
i] = (in[
i] -
b[
i]) /
a[i];