lemon/polynomial.h
changeset 2208 37b5c870a953
parent 2199 1229af45cc69
child 2386 81b47fc5c444
equal deleted inserted replaced
1:ee0e4718afdc 2:d981c2423dfc
    74 
    74 
    75     ///Substitute the value u into the polinomial.
    75     ///Substitute the value u into the polinomial.
    76     ///The calculation will be done using type \c R.
    76     ///The calculation will be done using type \c R.
    77     ///The following examples shows the usage of the template parameter \c R.
    77     ///The following examples shows the usage of the template parameter \c R.
    78     ///\code
    78     ///\code
    79     ///  Polynomial<xy<double> > line(1);
    79     ///  Polynomial<dim2::Point<double> > line(1);
    80     ///  line[0]=xy<double>(12,25);
    80     ///  line[0]=dim2::Point<double>(12,25);
    81     ///  line[1]=xy<double>(2,7);
    81     ///  line[1]=dim2::Point<double>(2,7);
    82     ///  ...
    82     ///  ...
    83     ///  xy<double> d = line.subst<xy<double> >(23.2);
    83     ///  dim2::Point<double> d = line.subst<dim2::Point<double> >(23.2);
    84     ///\endcode
    84     ///\endcode
    85     ///
    85     ///
    86     ///\code
    86     ///\code
    87     ///  Polynomial<double> p;
    87     ///  Polynomial<double> p;
    88     ///  Polynomial<double> q;
    88     ///  Polynomial<double> q;