Mercurial > hg > octave-lyh
diff scripts/polynomial/poly.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/poly.m +++ b/scripts/polynomial/poly.m @@ -17,16 +17,16 @@ ### Software Foundation, 59 Temple Place - Suite 330, Boston, MA ### 02111-1307, USA. -function y = poly (x) +## usage: poly (x) +## +## If A is a square n-by-n matrix, poly (A) is the row vector of +## the coefficients of det (z * eye(n) - A), the characteristic +## polynomial of A. +## +## If x is a vector, poly (x) is a vector of coefficients of the +## polynomial whose roots are the elements of x. - ## usage: poly (x) - ## - ## If A is a square n-by-n matrix, poly (A) is the row vector of - ## the coefficients of det (z * eye(n) - A), the characteristic - ## polynomial of A. - ## - ## If x is a vector, poly (x) is a vector of coefficients of the - ## polynomial whose roots are the elements of x. +function y = poly (x) ## Written by KH (Kurt.Hornik@neuro.tuwien.ac.at) Dec 24, 1993.