roots                 package:signal                 R Documentation

_R_o_o_t_s _o_f _a _p_o_l_y_n_o_m_i_a_l

_D_e_s_c_r_i_p_t_i_o_n:

     Roots of a polynomial

_U_s_a_g_e:

     roots(x)

_A_r_g_u_m_e_n_t_s:

       x: polynomial coefficients with coefficients given in order from
          highest to lowest polynomial power. This is the Matlab/Octave
          convention; it is opposite of the convention used by
          'polyroot'.

_V_a_l_u_e:

     A complex array with the roots of the polynomial.

_A_u_t_h_o_r(_s):

     Original Octave version by Kurt Hornik. Conversion to R by Tom
     Short.

_R_e_f_e_r_e_n_c_e_s:

     Octave Forge <URL: http://octave.sf.net>

_S_e_e _A_l_s_o:

     'polyroot', 'polyval', 'poly', 'conv'

_E_x_a_m_p_l_e_s:

     roots(1:3)
     polyroot(3:1) # should be the same
     poly(roots(1:3))

