Mathematica 9 is now available

Documentation / Mathematica / Built-in Functions / Lists and Matrices / List Construction /

Sow

FilledSmallSquare Sow[e] specifies that e should be collected by the nearest enclosing Reap.

FilledSmallSquare Sow[e, tag] specifies that e should be collected by the nearest enclosing Reap whose pattern matches tag.

FilledSmallSquare Sow[e, , , ... ] specifies that e should be collected once for each pattern that matches a .

FilledSmallSquare Sow[e, ... ] returns e.

FilledSmallSquare By having several identical , a single expression can be made to appear multiple times in a list returned by Reap.

FilledSmallSquare Sow[e] is equivalent to Sow[e, None].

FilledSmallSquare Sow[e, tag] sows an expression with tag tag.

FilledSmallSquare See Section 2.4.1 and Section 2.6.10.

FilledSmallSquare See also: Reap, Throw, AppendTo, EvaluationMonitor, StepMonitor, Scan.

FilledSmallSquare New in Version 5.0.

Further Examples



Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.