Python Extended Types and OML Type Mapping

Comparative list of data types in Python and OML that can be used when creating a bridge between the two languages.

Python Non-Basic Type OML Type Comments
Numpy – array, Ndarray, matrix


ND Matrix

  • From the Python matrix, two-dimensional numpy array to OML 2D matrix.
  • From Python numpy, ND array to OML ND matrix (if the number of dimensions is greater than two).
  • From OML 2D matrix and ND matrix to Python NDarray.
    Note: Only the following data types are supported in the OML matrix: Bool, int, Float, and Complex.