Wrap a Scilab data into a Python object
X = pyWrap(x)
A double or boolean or integer or string matrix.
A Python object
The Scilab data is converted into a Python one. By default, a row is converted into a list and a matrix into a list of lists. All the integer data are converted into a Python long.
It is possible to use a Numpy wrapping in enabling it with pyUseNumpy. But take care: a single data (like 123 or 'foo') is always wrapped with a basic Python type (never an instance of ndarray).
Version | Description |
5.4.0 | Python module. |