Mercurial > octave-nkf
comparison doc/interpreter/numbers.txi @ 10846:a4f482e66b65
Grammarcheck more of the documentation.
Use @noindent macro appropriately.
Limit line length to 80 characters.
author | Rik <octave@nomad.inbox5.com> |
---|---|
date | Sun, 01 Aug 2010 20:22:17 -0700 |
parents | 322f43e0e170 |
children | 6ead75935ebf |
comparison
equal
deleted
inserted
replaced
10845:c0ffe159ba1a | 10846:a4f482e66b65 |
---|---|
408 | 408 |
409 @example | 409 @example |
410 a = 2*(1:1e7) - 1; | 410 a = 2*(1:1e7) - 1; |
411 @end example | 411 @end example |
412 | 412 |
413 @noindent | |
413 will produce the same result as @samp{1:2:2e7-1}, but without ever forming a | 414 will produce the same result as @samp{1:2:2e7-1}, but without ever forming a |
414 vector with ten million elements. | 415 vector with ten million elements. |
415 | 416 |
416 Using zero as an increment in the colon notation, as @samp{1:0:1} is not | 417 Using zero as an increment in the colon notation, as @samp{1:0:1} is not |
417 allowed, because a division by zero would occur in determining the number of | 418 allowed, because a division by zero would occur in determining the number of |
576 | 577 |
577 @example | 578 @example |
578 bitget (100, 8:-1:1) | 579 bitget (100, 8:-1:1) |
579 @end example | 580 @end example |
580 | 581 |
582 @noindent | |
581 is the same as | 583 is the same as |
582 | 584 |
583 @example | 585 @example |
584 bitget (100 * ones (1, 8), 8:-1:1) | 586 bitget (100 * ones (1, 8), 8:-1:1) |
585 @end example | 587 @end example |