Home | Trees | Indices | Help |
---|
|
object --+ | interface.LinearOperator --+ | PermutationOperator
Perform permutations to the vector elements. Attributes ---------- perm : list or tuple The permutation of coefficients.
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from |
|
|||
Inherited from Inherited from |
|
Parameters ---------- perm : list or tuple The permutation of coefficients. Returns ------- A PermutationOperator instance. Exemple ------- >>> import numpy as np >>> import linear_operators as lo >>> P = lo.PermutationOperator([3, 1, 0, 2]) >>> P.todense() array([[ 0., 0., 0., 1.], [ 0., 1., 0., 0.], [ 1., 0., 0., 0.], [ 0., 0., 1., 0.]])
|
repr(x)
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Thu Jun 2 17:46:16 2011 | http://epydoc.sourceforge.net |