User Tools

Site Tools


concepts:tool

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
concepts:tool [2009/11/05 14:51]
shona.weldon
concepts:tool [2010/11/12 15:52]
marcus.williams
Line 1: Line 1:
 ====== Tool On Objects Language ====== ====== Tool On Objects Language ======
  
-Tools-On-Objects Language, is an interactive language for manipulating structured data objects including multi-dimensioned arrays, sets and geometric objects. ​ TOOL is the only language needed throughout the whatIf? platform.+Tools-On-Objects Language, is an interactive language for manipulating structured data objects including multi-dimensioned arrays, sets and geometric objects. ​ TOOL is the only ((Occasionally,​ for complex source data files, a pre-processor script written in another language (e.g. AWK, Perl, R) may be used.)) ​language needed throughout the whatIf? platform.
  
 ===== One Language to Rule Them All ===== ===== One Language to Rule Them All =====
Line 52: Line 52:
 ===== Multidimensional Support ===== ===== Multidimensional Support =====
  
-TOOL handles multidimensional arrays (objects) in a way that makes the math as simple as working with single value variables. ​ For example to multiply a population stock variable which is broken down by region(reg),​ gender(gen),​ time(t) and age(a) by a survival rate by only region time and age the math is simply:+TOOL handles multidimensional arrays (objects) in a way that makes the math as simple as working with single-value (or scalar) ​variables. ​ For example to multiply a population stock variable which is broken down by region(reg),​ gender(gen),​ time(t) and age(a) by a survival rate by only region time and age the math is simply:
 <​code>​ <​code>​
 survivors[reg,​gen,​t,​a] = population[reg,​gen,​t,​a] * survivalRate[reg,​t,​a] survivors[reg,​gen,​t,​a] = population[reg,​gen,​t,​a] * survivalRate[reg,​t,​a]
concepts/tool.txt · Last modified: 2010/11/12 15:52 by marcus.williams