Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Marco Ratto
dynare
Commits
99d2b5ad
Verified
Commit
99d2b5ad
authored
Feb 14, 2020
by
Sébastien Villemot
Browse files
Manual: add set union and intersection operators in the macro-processor
parent
71def361
Changes
1
Hide whitespace changes
Inline
Side-by-side
doc/manual/source/the-model-file.rst
View file @
99d2b5ad
...
...
@@ -10799,6 +10799,8 @@ The following operators can be used on arrays:
*
Comparison
operators
:
``==,
!=``
*
Dereferencing
:
if
``
v
``
is
an
array
,
then
``
v
[
2
]``
is
its
2
nd
element
*
Concatenation
of
two
arrays
:
``+``
*
Set
union
of
two
arrays
:
``|``
*
Set
intersection
of
two
arrays
:
``&``
*
Difference
``-``:
returns
the
first
operand
from
which
the
elements
of
the
second
operand
have
been
removed
.
*
Cartesian
product
of
two
arrays
:
``*``
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment