|
|
|||
|
|
| Mathematica Tutorial | Functions »|Tutorials » |
| Sow[val] | sow the value val for the nearest enclosing Reap |
| Reap[expr] | evaluate expr, returning also a list of values sown by Sow |
|
|
|
This defines a function that can do a Sow.
|
|
| Sow[val,tag] | sow val with a tag to indicate when to reap |
| Sow[val,{tag1,tag2,...}] | sow val for each of the tagi |
| Reap[expr,form] | reap all values whose tags match form |
| Reap[expr,{form1,form2,...}] | make separate lists for each of the formi |
| Reap[expr,{form1,...},f] | apply f to each distinct tag and list of values |
|
|
|
|
|
|