diff scripts/polynomial/roots.m @ 3368:a4cd1e9d9962

[project @ 1999-11-20 17:22:48 by jwe]
author jwe
date Sat, 20 Nov 1999 17:23:01 +0000
parents 8b262e771614
children f8dde1807dee
line wrap: on
line diff
--- a/scripts/polynomial/roots.m	Sat Nov 20 14:52:42 1999 +0000
+++ b/scripts/polynomial/roots.m	Sat Nov 20 17:23:01 1999 +0000
@@ -17,10 +17,25 @@
 ## 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).
+## -*- texinfo -*-
+## @deftypefn {Function File} {} roots (@var{v})
+## 
+## For a vector @var{v} with @var{N} components, return
+## the roots of the polynomial
+## @iftex
+## @tex
+## $$
+## v_1 z^{N-1} + \cdots + v_{N-1} z + v_N.
+## $$
+## @end tex
+## @end iftex
+## @ifinfo
+## 
+## @example
+## v(1) * z^(N-1) + ... + v(N-1) * z + v(N).
+## @end example
+## @end ifinfo
+## @end deftypefn
 
 ## Author: KH <Kurt.Hornik@ci.tuwien.ac.at>
 ## Created: 24 December 1993