Difference between revisions of "Manuals/calci/FORALL"
Jump to navigation
Jump to search
(Created page with "==FORALL(SomeArray,SomeFunctions) == ==Description== *FORALL returns the result of applying the set of SomeFunctions to SomeArray ==Example== FORALL(1..100,"z<=100") giv...") |
|||
| (One intermediate revision by the same user not shown) | |||
| Line 4: | Line 4: | ||
==Description== | ==Description== | ||
*FORALL returns the result of applying the set of SomeFunctions to SomeArray | *FORALL returns the result of applying the set of SomeFunctions to SomeArray | ||
| + | *This can also be represented by the notation ∀a("x<101") etc. | ||
==Example== | ==Example== | ||
| Line 15: | Line 16: | ||
gives false | gives false | ||
| + | a=1..100; | ||
| + | |||
| + | [∀a("x<810"),∃a("x<810"),∄a("x<810")] | ||
| + | |||
| + | true true false | ||
==See Also== | ==See Also== | ||
Latest revision as of 14:03, 4 February 2020
FORALL(SomeArray,SomeFunctions)
Description
- FORALL returns the result of applying the set of SomeFunctions to SomeArray
- This can also be represented by the notation ∀a("x<101") etc.
Example
FORALL(1..100,"z<=100")
gives true
FORALL(1..100,"z<=50")
gives false
a=1..100;
[∀a("x<810"),∃a("x<810"),∄a("x<810")]
true true false