Definition menu (more)


Release:

…  • 4.6 •  5.0 •  5.1 •  5.2 •  5.3 •  5.4 •  6.0 •  6.1 •  6.2 •  6.3 •  6.4 •  6.5 •   •  6.6 •  7.0 •  7.1 •  7.2 •  7.3


The Definition menu allows to view and edit definitions of selected variables. It also displays definitions of user-defined functions, and built-in functions and system variables.

This menu is hierarchical. Each library lists the functions or other constructs it contains. The middle partition lists built-in libraries. At the bottom, are any libraries you have created or added. If you view and select a subitem when editing a definition, it pastes it into the definition.

Please see the tables below for the detailed functionalities of the Definition menu and the System Variables submenu.

Menu item Description
Edit Definition Opens the appropriate view for editing the definition of the selected variable. If the variable is defined as a distribution or sequence, the Object Finder dialog opens. If it is defined as a table or probability table, its edit table window opens. Otherwise, an Object window or Attribute panel opens, depending on the Edit attributes setting in the Preferences dialog.
Edit Time Opens the Object window for the Time system variable. See Time index.
Paste Identifier Opens the Object Finder dialog for examining functions and variable identifiers, entering function parameters, and pasting them into definitions. See Object Finder dialog.
Show Invalid Variables Displays a window listing all variables with invalid or missing definitions. See Invalid variables.
Math See Math functions.
Array See Arrays and Indexes and Array functions.The Matrix functions are in the Matrix submenu here (and under Advanced math).
Distribution See Probability Distributions.
Special Displays a list of unusual or less commonly used functions in the Special library.
Statistical See Statistical functions.
Operators Arithmetic, comparison, logical, and conditional operators. See Operators.
System Variables See System Variables submenu below.
Text Functions See Text functions.
Financial See Financial functions.
Advanced Math See Advanced math functions.
Application integration Functions for exchanging data with other applications: Component Object Model (COM), databases, Excel spreadsheets, the file system, Python, URLs and console processes. See Integration with data and applications and Database functions.
Optimizer Appears only if you have the Optimizer activated. See Analytica Optimizer Guide for more.
Your libraries Lists the names of any libraries that you have defined or added to the model, each with a submenu that lists the functions contained in the library. See User-defined Functions and Libraries.

System Variables submenu

Menu item Description
Constants submenu
Analytica edition The edition of Analytica running, either “Optimizer”, “Developer”, “Professional”, “Free”, “Power Player”, “Player”, “Trial”, “Lite”, “ADE” or “ADE Optimizer”. See AnalyticaEdition.
Analytica platform The operating system/platform. In Analytica for Windows, this is “Windows”, and in the Analytica Decision Engine this is “ADE”. See AnalyticaPlatform.
Analytica version An integer encoding the build of Analytica being run, equal to 10K*Major + 100*Minor + SubMinor. For example, Analytica 7.2.0 returns 70200. See AnalyticaVersion.
False The logical (Boolean) constant that evaluates numerically to zero.
Inf Infinity, the result of, e.g., 1/0. See INF, NAN, and Null.
IsSampleEvalMode This is 1 when evaluated in Sample mode, or 0 when evaluated in Mid mode. You can use this in an expression when you need to compute a mid value differently than a probabilistic value.
Run Run is the index for uncertainty sampling, defined as Sequence(1, SampleSize).
NaN Not a number, the result of an undefined calculation such as 0/0. See INF, NAN, and Null.
Null A special system constant, returned by various functions when data does not exist at a requested location, and ignored by array-reducing functions when present in the cells of an array. See INF, NAN, and Null.
Pi Pi is the ratio of circumference to the diameter of a circle.
SvdIndex The SingularValueDecomp function returns three matrices, 'U', 'W', and 'V'. To return all three at once, the return value is an array indexed by SvdIndex, which is equal to ['U', 'W', 'V'].
True The logical (Boolean) constant that evaluates numerically to nonzero.
Settings submenu
Comparison tolerance The tolerance used when showing whether a constraint’s comparison holds. See Display of constraint results.
Decimal for copy-paste The character used as the decimal point when you copy and paste numbers to or from other applications. See DecimalForCopyPaste.
Disable Multithreaded Evaluations Turns off selected multithreaded algorithms. See DisableMultithreaded.
Enable complex numbers Lets computations return complex numbers, e.g., Sqrt(-1). See Complex numbers.
Enable error underlining When on, expression fields underline errors as you type. See Sys EnableErrorUnder.
Enable fixed font When on, definitions and other expression fields use a fixed-width font. See Sys EnableFixedFont.
Enable syntax coloring When on, expression fields color each part of an expression by its syntactic type. See Sys EnableSyntaxColo.
Maximum evaluation threads The maximum number of threads used to evaluate a computation. See Multithreaded evaluation.
Maximum model threads The maximum number of threads used for the model. See Multithreaded evaluation.
Sample size The number of sample iterations for probabilistic simulation. See Uncertainty Setup dialog.
Sample weighting Set this to an array indexed by Run to assign a different weight to each probabilistic sample point. See Importance weights.
Slider style defaults The default styles and colors for sliders.
Syntax colors The table of colors used for syntax coloring. See Sys SyntaxColors.
Sys_CellAlignmentHybridDefault Which data types are right- or left-aligned in table cells that use the Default alignment. See Sys CellAlignmentHybridDefault.
Text locale The locale used to sort and compare text. See TextLocale.
Time The index variable identifying the dimension for dynamic simulation (the Dynamic() function). See Time index.
Use legacy colors When on, a module inherits its color from the module that contains it (the behavior before Analytica 5.4). See Sys UseLegacyColors.

See Also

Comments
Loading comments...