bundles / scipy latest / scipy / io / matlab / _mio4 / arr_to_2d
function
scipy.io.matlab._mio4:arr_to_2d
source: /scipy/io/matlab/_mio4.py :437
Signature
def arr_to_2d ( arr , oned_as = row ) Summary
Make arr exactly two dimensional
Extended Summary
If arr has more than 2 dimensions, raise a ValueError
Parameters
arr: arrayoned_as: {'row', 'column'}, optionalWhether to reshape 1-D vectors as row vectors or column vectors. See documentation for
matdimsfor more detail
Returns
arr2d: array2-D version of the array
Aliases
-
scipy.io.matlab._mio4.arr_to_2d