Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This function retrieves the index of an (warning)one-dimensional(warning) MDA store for a given value. In other wordwords, it answers the quesion in which cell the values lies.
Short-cut for MDAIndices with one dimension. 

Arguments:

  1. The name of the store
  2. The value to check

Note that it must be an one-dimensional MDA

Return value: Integer

The cell in which cell the values lies, or -1, if the value is outside the boundaries.

Example:

Using the Nexmark sources:

Code Block
MDAIndex("Test", price)

Anchor
MDAIndices
MDAIndices
MDAIndices(String, List<Double>)

This function retrieves the index of multi-dimensional MDA store for a given value. In other words, it answers the quesion in which cell the values lies.

Arguments:

  1. The name of the store
  2. The multi-dimensional value to check

Return value: List<Integer>

The cell in which cell the values lies, or -1 for any dimension, if the value is outside the boundaries of that dimension.

Example:

Using the Nexmark sources:

Code Block
MDAIndex("Test", ToList(price, ToDouble(initialbid)))