Skip to content

Commit

Permalink
regenerate the manual
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeInnes committed Jun 30, 2015
1 parent 7de00ff commit 66a5b0f
Show file tree
Hide file tree
Showing 18 changed files with 3,701 additions and 52 deletions.
3 changes: 3 additions & 0 deletions doc/devdocs/cartesian.rst
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ 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 +192,7 @@ 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 +202,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 66a5b0f

Please sign in to comment.