Mercurial > hg > octave-nkf
diff scripts/polynomial/roots.m @ 9051:1bf0ce0930be
Grammar check TexInfo in all .m files
Cleanup documentation sources to follow a few consistent rules.
Spellcheck was NOT done. (but will be in another changeset)
author | Rik <rdrider0-list@yahoo.com> |
---|---|
date | Fri, 27 Mar 2009 22:31:03 -0700 |
parents | eb63fbe60fab |
children | f0c3d3fc4903 |
line wrap: on
line diff
--- a/scripts/polynomial/roots.m +++ b/scripts/polynomial/roots.m @@ -32,7 +32,7 @@ ## @ifnottex ## ## @example -## v(1) * z^(N-1) + ... + v(N-1) * z + v(N) +## v(1) * z^(N-1) + @dots{} + v(N-1) * z + v(N) ## @end example ## @end ifnottex ## @@ -49,10 +49,12 @@ ## @end example ## @end ifnottex ## @example +## @group ## c = [1, 0, -5]; ## roots(c) ## @result{} 2.2361 ## @result{} -2.2361 +## @end group ## @end example ## Note that the true result is ## @iftex