Home | Trees | Indices | Help |
---|
|
object --+ | interface.LinearOperator --+ | SymmetricOperator --+ | IdentityOperator
SymmetricOperator with identity matvec (lambda x: x).
|
|||
|
|||
Inherited from Inherited from Inherited from |
|
|||
Inherited from Inherited from |
|
Instantiate an IdentityOperator. Parameters ---------- shape : length 2 tuple The shape of the operator. Should be square. Returns ------- An IdentityOperator instance. Exemple ------- >>> import linear_operators as lo >>> I = lo.IdentityOperator((3, 3)) >>> I.todense() array([[ 1., 0., 0.], [ 0., 1., 0.], [ 0., 0., 1.]])
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Thu Jun 2 17:46:16 2011 | http://epydoc.sourceforge.net |