You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

This site describes MEP functions available to use a Multi Dimensional Array (MDA) store. Such a MDA is basically a grid, whose borders, and distances between borders can be defined. As an example, the map of a city can be overlayed by a MDA to get equal sized zones or cells.

Functions for MDA stores are the following:

MDADim(Double, Double, Integer)

This function creates a new dimension for any MDA store.

Arguments:

  1. The lower border for the dimension
  2. The upper border for the dimension
  3. The number of borders for the dimension (incl. lower and upper)

The number of cells is than the number of borders minus 1.

Return value: List<Double>

All borders defining the dimension

Example:

0...100100.01... 200

 can be defined by

MDADim(0.0, 200.0, ToInteger(3))

returning 

0100200

MDAInit(String, List<List<Double>>)

This function creates a new MDA store.

Arguments:

  1. The name for the store
  2. A list of the dimensions for the MDA store. Each entry is a list of borders (see MDADim)

Return value: null

Example:

MDAInit("MyStore", ToList(MDADim(0.0, 200.0, ToInteger(3))))

MDADrop(String)

This function drops an existing MDA store.

Argument: The name for the store

Return value: null

Example:

MDADrop("MyStore")
  • No labels