Skip to content

Commit

Permalink
regenerate the manual
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeInnes committed Jul 7, 2015
1 parent d253df8 commit e5798c3
Show file tree
Hide file tree
Showing 18 changed files with 4,494 additions and 50 deletions.
5 changes: 5 additions & 0 deletions doc/devdocs/cartesian.rst
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,8 @@ Macro reference
~~~~~~~~~~~~~~~

.. function:: @nloops N itersym rangeexpr bodyexpr

::
@nloops N itersym rangeexpr preexpr bodyexpr
@nloops N itersym rangeexpr preexpr postexpr bodyexpr

Expand Down Expand Up @@ -191,6 +193,8 @@ Macro reference
bounds-checking.

.. function:: @nif N conditionexpr expr

::
@nif N conditionexpr expr elseexpr

Generates a sequence of ``if ... elseif ... else ... end`` statements. For example::
Expand All @@ -200,6 +204,7 @@ Macro reference
would generate::

if i_1 > size(A, 1)

error("Dimension ", 1, " too big")
elseif i_2 > size(A, 2)
error("Dimension ", 2, " too big")
Expand Down
Loading

0 comments on commit e5798c3

Please sign in to comment.