Mercurial > hg > octave-avbm
diff scripts/polynomial/roots.m @ 2311:2b5788792cad
[project @ 1996-07-11 20:18:38 by jwe]
author | jwe |
---|---|
date | Thu, 11 Jul 1996 20:18:38 +0000 |
parents | 5cffc4b8de57 |
children | 204cc7db6f4a |
line wrap: on
line diff
--- a/scripts/polynomial/roots.m +++ b/scripts/polynomial/roots.m @@ -17,13 +17,13 @@ ### Software Foundation, 59 Temple Place - Suite 330, Boston, MA ### 02111-1307, USA. +## usage: roots (v) +## +## For a vector v with n components, return the roots of the +## polynomial v(1) * z^(n-1) + ... + v(n-1) * z + v(n). + function r = roots (v) - ## usage: roots (v) - ## - ## For a vector v with n components, return the roots of the - ## polynomial v(1) * z^(n-1) + ... + v(n-1) * z + v(n). - ## Written by KH (Kurt.Hornik@ci.tuwien.ac.at) on Dec 24, 1993 ## Updated by KH on Nov 25, 1994