This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
tutorials:tool_quick_reference_card [2017/05/16 16:47] marcus.williams [TOOL Variables] |
tutorials:tool_quick_reference_card [2019/02/21 02:53] marcus.williams [S] |
||
---|---|---|---|
Line 39: | Line 39: | ||
which matches up element names in Y with those in X. | which matches up element names in Y with those in X. | ||
+ | {{ :howtos:toolcoding:mappingtemplate.xls |Mapping Template}} | ||
==== N ==== | ==== N ==== | ||
**norm()** examples: | **norm()** examples: | ||
Line 55: | Line 56: | ||
a[s,t] = sum (b[s->c,t]; dim=stateCOcounty@state) | a[s,t] = sum (b[s->c,t]; dim=stateCOcounty@state) | ||
a[] = sum (b[s,a]; dim=all) | a[] = sum (b[s,a]; dim=all) | ||
+ | </code> | ||
+ | |||
+ | **shrink()** examples: | ||
+ | <code> | ||
+ | a[t] = shrink (b[byrs,a]) | ||
+ | a[t] = shrink (b[byrs,a]; time) | ||
</code> | </code> | ||