| Home | Trees | Indices | Help |
|---|
|
|
object --+
|
interface.LinearOperator --+
|
SliceOperator
Perform slicing on the input vector. Attributes ---------- slice: slice Slice applied to the input vector.
|
|||
|
|||
|
Inherited from Inherited from Inherited from |
|||
|
|||
|
Inherited from Inherited from |
|||
|
|||
Exemple
-------
>>> S = lo.SliceOperator((2, 4), slice(None, None, 2))
>>> S.todense()
array([[ 1., 0., 0., 0.],
[ 0., 0., 1., 0.]])
>>> S.T.todense()
array([[ 1., 0.],
[ 0., 0.],
[ 0., 1.],
[ 0., 0.]])
|
| Home | Trees | Indices | Help |
|---|
| Generated by Epydoc 3.0.1 on Thu Jun 2 17:46:16 2011 | http://epydoc.sourceforge.net |