Mercurial > octave-nkf
diff doc/interpreter/oop.txi @ 14093:050bc580cb60 stable
doc: Various docstring improvements before 3.6.0 release.
* NEWS, aspell-octave.en.pws, intro.txi, oop.txi, testfun.txi, tips.txi,
FIRfilter.m, FIRfilter_aggregation.m, polynomial.m, polynomial_superiorto.m,
usejava.m, pcg.m, pcr.m, nchoosek.m, validatestring.m, assert.m, weekday.m,
cellfun.cc, error.cc, strfns.cc: Various docstring improvements before 3.6.0
release.
author | Rik <octave@nomad.inbox5.com> |
---|---|
date | Wed, 21 Dec 2011 19:46:57 -0800 |
parents | 818299a39ae1 |
children | 72c96de7a403 |
line wrap: on
line diff
--- a/doc/interpreter/oop.txi Wed Dec 21 21:19:48 2011 -0500 +++ b/doc/interpreter/oop.txi Wed Dec 21 19:46:57 2011 -0800 @@ -54,18 +54,18 @@ fully grasp the techniques described. The polynomial class is used to represent polynomials of the form +@tex +$$ +a_0 + a_1 x + a_2 x^2 + \ldots a_n x^n +$$ +@end tex +@ifnottex @example -@group -@tex -$a_0 + a_1 x + a_2 x^2 + \ldots a_n x^n$ -@end tex -@ifnottex a0 + a1 * x + a2 * x^2 + @dots{} + an * x^n -@end ifnottex -@end group @end example +@end ifnottex @noindent where @tex @@ -130,9 +130,9 @@ @group p = polynomial ([1, 0, 1]); isobject (p) -@result{} 1 + @result{} 1 isa (p, "polynomial") -@result{} 1 + @result{} 1 @end group @end example @@ -157,7 +157,7 @@ @group p = polynomial ([1, 0, 1]); ismethod (p, "roots") -@result{} 1 + @result{} 1 @end group @end example @@ -319,7 +319,7 @@ @group p = polynomial([1,2,3,4]); p(end-1) -@result{} 3 + @result{} 3 @end group @end example