diff scripts/specfun/nchoosek.m @ 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 281ecc6fb431
children 72c96de7a403
line wrap: on
line diff
--- a/scripts/specfun/nchoosek.m	Wed Dec 21 21:19:48 2011 -0500
+++ b/scripts/specfun/nchoosek.m	Wed Dec 21 19:46:57 2011 -0800
@@ -48,9 +48,9 @@
 ## This is the number of combinations of @var{n} items taken in groups of
 ## size @var{k}.
 ##
-## If the first argument is a vector, @var{set}, then generate all combinations
-## of the elements of @var{set}, taken @var{k} at a time, with one row per
-## combination.  The result @var{c} has @var{k} columns and
+## If the first argument is a vector, @var{set}, then generate all
+## combinations of the elements of @var{set}, taken @var{k} at a time, with
+## one row per combination.  The result @var{c} has @var{k} columns and
 ## @w{@code{nchoosek (length (@var{set}), @var{k})}} rows.
 ##
 ## For example:
@@ -77,8 +77,8 @@
 ##
 ## @code{nchoosek} works only for non-negative, integer arguments.  Use
 ## @code{bincoeff} for non-integer and negative scalar arguments, or for
-## computing many binomial coefficients at once with vector inputs for @var{n}
-## or @var{k}.
+## computing many binomial coefficients at once with vector inputs
+## for @var{n} or @var{k}.
 ##
 ## @seealso{bincoeff, perms}
 ## @end deftypefn