Mercurial > hg > octave-lyh
diff doc/interpreter/tips.txi @ 7001:8b0cfeb06365
[project @ 2007-10-10 18:02:59 by jwe]
author | jwe |
---|---|
date | Wed, 10 Oct 2007 18:03:02 +0000 |
parents | 083721ae3dfa |
children | 93c65f2a5668 |
line wrap: on
line diff
--- a/doc/interpreter/tips.txi +++ b/doc/interpreter/tips.txi @@ -275,7 +275,7 @@ As noted above, documentation is typically in a commented header block on an Octave function following the copyright statement. The help string -shown above is an unformated stringed and will be displayed as is by +shown above is an unformatted string and will be displayed as is by Octave. Here are some tips for the writing of documentation strings. @itemize @bullet @@ -518,7 +518,7 @@ @@end example @@end ifinfo -If @@var@{n@} is a vector generate all combinations of the elements +If @@var@{n@} is a vector, this generates all combinations of the elements of @@var@{n@}, taken @@var@{k@} at a time, one row per combination. The resulting @@var@{c@} has size @@code@{[nchoosek (length (@@var@{n@}), @@var@{k@}), @@var@{k@}]@}.