Mercurial > hg > octave-nkf
comparison scripts/general/nextpow2.m @ 10793:be55736a0783
Grammarcheck the documentation from m-files.
author | Rik <octave@nomad.inbox5.com> |
---|---|
date | Sun, 18 Jul 2010 20:35:16 -0700 |
parents | 1231b1762a9a |
children | 1740012184f9 |
comparison
equal
deleted
inserted
replaced
10792:91342260063e | 10793:be55736a0783 |
---|---|
22 ## If @var{x} is a scalar, return the first integer @var{n} such that | 22 ## If @var{x} is a scalar, return the first integer @var{n} such that |
23 ## @tex | 23 ## @tex |
24 ## $2^n \ge |x|$. | 24 ## $2^n \ge |x|$. |
25 ## @end tex | 25 ## @end tex |
26 ## @ifnottex | 26 ## @ifnottex |
27 ## 2^n >= abs (x). | 27 ## 2^n @geq{} abs (x). |
28 ## @end ifnottex | 28 ## @end ifnottex |
29 ## | 29 ## |
30 ## If @var{x} is a vector, return @code{nextpow2 (length (@var{x}))}. | 30 ## If @var{x} is a vector, return @code{nextpow2 (length (@var{x}))}. |
31 ## @seealso{pow2, log2} | 31 ## @seealso{pow2, log2} |
32 ## @end deftypefn | 32 ## @end deftypefn |