Difference between revisions of "IdentPred"
(some details about this name IdentPred) |
|||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
[[category:Operators]] | [[category:Operators]] | ||
− | == x[Time-n] == | + | == x[Time - n] == |
− | <code>x[Time-n]</code> is used inside a [[Dynamic]]() function to refer to a previous time period, «n» steps back along [[Time]]. When used in <code> | + | <code>x[Time - n]</code> is used inside a [[Dynamic]]() function to refer to a previous time period, «n» steps back along [[Time]]. When used in <code>Dynamic[J]()</code> along the dynamic index <code>J</code>, you would use <code>x[J - n]</code>. |
− | This is synonymous with the slice expression <code>x[@Time=Time-n]</code>. | + | This is synonymous with the [[slice]] expression <code>x[@Time = Time - n]</code>. |
== The name IdentPred == | == The name IdentPred == | ||
− | The name [[IdentPred]] appears in the Analytica namespace as if it were a built-in system function. However, there is no function calling syntax for invoking this using the name IdentPred. As an Analytica user, you will seldom see this identifier unless you start poking around in the internals. Internally, the object named [[IdentPred]] is a placeholder for this | + | The name [[IdentPred]] appears in the Analytica namespace as if it were a built-in system function. However, there is no function calling syntax for invoking this using the name IdentPred. As an Analytica user, you will seldom see this identifier unless you start poking around in the internals. Internally, the object named [[IdentPred]] is a placeholder for this operator, which gets invoked by the engine like other built-in functions to. You should never use the identifier [[IdentPred]] directly in your code. |
== See also == | == See also == | ||
− | + | * [[Dynamic]] | |
− | * [[Subscript/Slice_Operator|Slice operator]], <code>x[@Time=@Time-n]</code> | + | * [[Time]] |
+ | * [[Slice]] | ||
+ | * [[Subscript/Slice_Operator|Slice operator]], <code>x[@Time = @Time - n]</code> |
Latest revision as of 22:54, 24 May 2016
x[Time - n]
x[Time - n]
is used inside a Dynamic() function to refer to a previous time period, «n» steps back along Time. When used in Dynamic[J]()
along the dynamic index J
, you would use x[J - n]
.
This is synonymous with the slice expression x[@Time = Time - n]
.
The name IdentPred
The name IdentPred appears in the Analytica namespace as if it were a built-in system function. However, there is no function calling syntax for invoking this using the name IdentPred. As an Analytica user, you will seldom see this identifier unless you start poking around in the internals. Internally, the object named IdentPred is a placeholder for this operator, which gets invoked by the engine like other built-in functions to. You should never use the identifier IdentPred directly in your code.
See also
- Dynamic
- Time
- Slice
- Slice operator,
x[@Time = @Time - n]
Enable comment auto-refresher