Did I find the right examples for you? yes no

# numpy.matlib.mat

All Samples(30)  |  Call(20)  |  Derive(0)  |  Import(10)

```    Also accepts 1d-array input, but always returns numpy matrix.
'''
if type(m) == type(mat(m)):
assert m.shape[1] == 1                            # col vector
intype = 'matrix'
```
```    <varnames> and <obslabels> must be sequences of strings.
'''
data = mat(data)
if orientation == 'rows':
```
```    tempnestedlist = [ line for line in read_from if not \
line[0].strip().startswith(commentchar) ]
data = mat(tempnestedlist, dtype = str)

```
```    return u[:, rk:]

from numpy.matlib import empty, zeros, eye, mat, asarray
from numpy.linalg import lstsq
def getOrthColumns(m):
```
```    '''
if type(m) == type(asarray(m)):
m = mat(m)
output = 'array'
else: output = 'matrix'
```

```    Also accepts 1d-array input, but always returns numpy matrix.
'''
if type(m) == type(mat(m)):
assert m.shape[1] == 1                            # col vector
intype = 'matrix'
```
```    <varnames> and <obslabels> must be sequences of strings.
'''
data = mat(data)
if orientation == 'rows':
```
```    tempnestedlist = [ line for line in read_from if not \
line[0].strip().startswith(commentchar) ]
data = mat(tempnestedlist, dtype = str)

```
```    return u[:, rk:]

from numpy.matlib import empty, zeros, eye, mat, asarray
from numpy.linalg import lstsq
def getOrthColumns(m):
```
```    '''
if type(m) == type(asarray(m)):
m = mat(m)
output = 'array'
else: output = 'matrix'
```