# HG changeset patch # User Rik # Date 1296193404 28800 # Node ID f244ed197b1a0774d9fbe89a6b9e105132da7a89 # Parent 3eaad83556783732e07a92595352cfbfe8161726 Add sizemax function to documentation. diff -r 3eaad8355678 -r f244ed197b1a doc/ChangeLog --- a/doc/ChangeLog Thu Jan 27 20:13:45 2011 -0800 +++ b/doc/ChangeLog Thu Jan 27 21:43:24 2011 -0800 @@ -1,3 +1,9 @@ +2011-01-27 Rik + + * interpreter/numbers.txi: Add sizemax function to documentation. + * interpreter/doccheck/mk_undocumented_list: Add ifelse to functions + not requiring documentation. + 2011-01-27 Rik * interpreter/image.txi: Add whitebg function to documentation. diff -r 3eaad8355678 -r f244ed197b1a doc/interpreter/doccheck/mk_undocumented_list --- a/doc/interpreter/doccheck/mk_undocumented_list Thu Jan 27 20:13:45 2011 -0800 +++ b/doc/interpreter/doccheck/mk_undocumented_list Thu Jan 27 21:43:24 2011 -0800 @@ -92,6 +92,7 @@ gammaln home i +ifelse inf inverse isbool diff -r 3eaad8355678 -r f244ed197b1a doc/interpreter/numbers.txi --- a/doc/interpreter/numbers.txi Thu Jan 27 20:13:45 2011 -0800 +++ b/doc/interpreter/numbers.txi Thu Jan 27 21:43:24 2011 -0800 @@ -268,6 +268,13 @@ For clarity, it is probably best to always use commas and semicolons to separate matrix elements and rows. +The maximum number of elements in a matrix is fixed when Octave is compiled. +The allowable number can be queried with the function @code{sizemax}. Note +that other factors, such as the amount of memory available on your machine, +may limit the maximum size of matrices to something smaller. + +@DOCSTRING(sizemax) + When you type a matrix or the name of a variable whose value is a matrix, Octave responds by printing the matrix in with neatly aligned rows and columns. If the rows of the matrix are too large to fit on the