roots(signal)
roots()所属R语言包:signal
Roots of a polynomial
一个多项式的根
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Roots of a polynomial
一个多项式的根
用法----------Usage----------
roots(x, method = c("polyroot", "eigen"))
参数----------Arguments----------
参数: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.
为了从最高到最低的多项式功率系数多项式系数。这是MATLAB /倍频程的会议,它是相反的polyroot使用的约定。
参数:method
Either “polyroot” (default) which uses polyroot for its computations internally (and is typically more accurate) or “eigen” which uses eigenvalues of the companion matrix for its computation. The latter returns complex values in case of real valued solutions in less cases.
无论是“polyroot”(默认值),它使用polyroot其计算内部(通常是更准确)或“特征”,它采用的同伴矩阵的特征值的计算。后者少的情况下,真正有价值的解决方案的情况下,复杂的值返回。
值----------Value----------
A complex array with the roots of the polynomial.
一系列复杂的多项式的根。
(作者)----------Author(s)----------
Original Octave version by Kurt Hornik. Conversion to R by Tom Short.
参考文献----------References----------
参见----------See Also----------
polyroot, polyval, poly, conv
polyroot,polyval,poly,conv
实例----------Examples----------
roots(1:3)
polyroot(3:1) # should be the same[应该是相同的]
poly(roots(1:3))
roots(1:3, method="eigen") # using eigenvalues[使用本征值]
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|