Difference between revisions of "Typographic conventions in this guide"
(13 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
<breadcrumbs>Analytica User Guide > Introduction: About Analytica > {{PAGENAME}}</breadcrumbs> | <breadcrumbs>Analytica User Guide > Introduction: About Analytica > {{PAGENAME}}</breadcrumbs> | ||
− | {| | + | :{| class="wikitable" |
− | + | ! '''Example''' | |
− | + | ! '''Meaning''' | |
|- | |- | ||
− | + | | '''''behavior analysis''''' | |
− | | | + | | Key terms when introduced. Most of these terms are included in the [[Glossary]]. |
|- | |- | ||
− | + | | '''Diagram''' | |
− | + | | Menus and menu commands, window names, panel names, dialog box names, function parameters. | |
|- | |- | ||
− | | | + | | '''Sequence()''' |
− | + | | Name of a variable or function in Analytica. | |
|- | |- | ||
− | + | | <code>Price - DownPmt</code> | |
− | + | | Expressions, definitions, example code. | |
|- | |- | ||
− | + | | <code>10^7 → 10M</code> | |
− | + | | In example code, this means that the variable or expression before <code>→</code> generates the result after it. | |
|- | |- | ||
− | | | + | | ''Enter, Control+a'' |
− | | | + | | A key or key-combination on the keyboard. A letter, such as “a”, can be lower- or uppercase. |
|} | |} | ||
Line 38: | Line 38: | ||
:<code>Sum(Squares, N) → 55</code> | :<code>Sum(Squares, N) → 55</code> | ||
− | This code says that there are two objects, an index <code>N</code> and a variable <code>Squares</code>. You would create these objects in a | + | This code says that there are two objects, an index <code>N</code> and a variable <code>Squares</code>. You would create these objects in a [[Diagram window]] by dragging from the node toolbar into the diagram (see [[Creating and editing nodes]]). You would enter the expressions, <code>[1, 2, 3, 4, 5]</code> and <code>N^2</code> into their definitions (see [[Creating or editing a definition]]). You would ''not ''enter the assignment “<code>:=</code>”. The last line says that the expression <code>Sum(Squares, N)</code> evaluates to the result <code>55</code> after the →. You might include that expression in the definition of third variable. |
'''Array examples''': We use these typographic conventions to show Analytica arrays. | '''Array examples''': We use these typographic conventions to show Analytica arrays. | ||
* An index or list and its values | * An index or list and its values | ||
− | <code>N:</code> | + | :<code>Index N :=</code> |
− | {| class="wikitable" | + | :{| class="wikitable" |
|1 | |1 | ||
|2 | |2 | ||
Line 50: | Line 50: | ||
|5 | |5 | ||
|} | |} | ||
− | * A one-dimensional array | + | * A one-dimensional array |
− | {| class="wikitable" | + | :<code>Variable Squares :=</code> |
+ | :{| class="wikitable" | ||
! colspan="5" |Squares ▶ | ! colspan="5" |Squares ▶ | ||
|- | |- | ||
Line 67: | Line 68: | ||
|} | |} | ||
* A two-dimensional array | * A two-dimensional array | ||
− | {| class="wikitable" | + | :{| class="wikitable" |
! | ! | ||
! colspan="3" |Index_b ▶ | ! colspan="3" |Index_b ▶ | ||
Line 92: | Line 93: | ||
|} | |} | ||
* A three-dimensional array | * A three-dimensional array | ||
− | {| class="wikitable" | + | :{| class="wikitable" |
− | ! colspan="4" |Index_c = 'displayed value' | + | ! colspan="4" |<code>Index_c = 'displayed value'</code> |
|- | |- | ||
! | ! | ||
Line 120: | Line 121: | ||
==See Also== | ==See Also== | ||
+ | * [[Array Function Example Variables]] | ||
+ | * [[Conventions for parameters and operands]] | ||
+ | * [[About_Analytica#Conventions_used_in_this_tutorial|Conventions used in Analytica Tutorial]] | ||
+ | * [[Analytica Optimizer Guide#Conventions Used in this Guide|Conventions used in Analytica Optimizer Guide]] | ||
+ | |||
+ | |||
+ | |||
<footer>Normally, usually, and defaults / {{PAGENAME}} / User guide Examples folder </footer> | <footer>Normally, usually, and defaults / {{PAGENAME}} / User guide Examples folder </footer> |
Latest revision as of 22:39, 31 May 2016
Example Meaning behavior analysis Key terms when introduced. Most of these terms are included in the Glossary. Diagram Menus and menu commands, window names, panel names, dialog box names, function parameters. Sequence() Name of a variable or function in Analytica. Price - DownPmt
Expressions, definitions, example code. 10^7 → 10M
In example code, this means that the variable or expression before →
generates the result after it.Enter, Control+a A key or key-combination on the keyboard. A letter, such as “a”, can be lower- or uppercase.
Code examples: This guide includes snippets of code to illustrate features, for example:
Index N := [1, 2, 3, 4, 5]
Variable Squares := N^2
Sum(Squares, N) → 55
This code says that there are two objects, an index N
and a variable Squares
. You would create these objects in a Diagram window by dragging from the node toolbar into the diagram (see Creating and editing nodes). You would enter the expressions, [1, 2, 3, 4, 5]
and N^2
into their definitions (see Creating or editing a definition). You would not enter the assignment “:=
”. The last line says that the expression Sum(Squares, N)
evaluates to the result 55
after the →. You might include that expression in the definition of third variable.
Array examples: We use these typographic conventions to show Analytica arrays.
- An index or list and its values
Index N :=
1 2 3 4 5
- A one-dimensional array
Variable Squares :=
Squares ▶ 1 2 3 4 5 1 4 9 16 25
- A two-dimensional array
Index_b ▶ Index_a ▼ a b c x value value value y value value value z value value value
- A three-dimensional array
Index_c = 'displayed value'
Index_b ▶ Index_a ▼ a b c x value value value y value value value z value value value
See Also
- Array Function Example Variables
- Conventions for parameters and operands
- Conventions used in Analytica Tutorial
- Conventions used in Analytica Optimizer Guide
Comments
Enable comment auto-refresher