Mercurial > hg > octave-lyh
diff scripts/polynomial/polyout.m @ 5016:bdbee5282954
[project @ 2004-09-22 02:50:35 by jwe]
author | jwe |
---|---|
date | Wed, 22 Sep 2004 02:50:36 +0000 |
parents | 8fd9495f5054 |
children | c08cb1098afc |
line wrap: on
line diff
--- a/scripts/polynomial/polyout.m +++ b/scripts/polynomial/polyout.m @@ -17,14 +17,21 @@ ## Software Foundation, 59 Temple Place, Suite 330, Boston, MA 02111 USA. ## -*- texinfo -*- -## @deftypefn {Function File} polyout (@var{c}, @var{x}) +## @deftypefn {Function File} {} polyout (@var{c}, @var{x}) ## Write formatted polynomial +## @iftex +## @tex +## $$ c(x) = c_1 x^n + \ldots + c_n x + c_{n+1} $$ +## @end tex +## @end iftex +## @ifinfo ## @example ## c(x) = c(1) * x^n + ... + c(n) x + c(n+1) ## @end example +## @end ifinfo ## and return it as a string or write it to the screen (if ## @var{nargout} is zero). -## @var{x} defaults to the string @code{"s"} +## @var{x} defaults to the string @code{"s"}. ## @end deftypefn ## @seealso{polyval, polyvalm, poly, roots, conv, deconv, residue, ## filter, polyderiv, and polyinteg}