Previous topic

arange1

Next topic

asin

This Page

array

mipylib.numeric.minum.array(object)
Create an array.
Parameters:object – (array_like) A Jython list or number object.
Returns:(MIArray) An array object satisfying the specified requirements.

Examples

>>> array([1,2,3])
array([1, 2, 3])
>>> array(25.6)
array([25.6])

More than one dimensions:

>>> array([[1,2], [3,4]])
array([[1.0, 2.0]
      [3.0, 4.0]])