Home | Trees | Indices | Help |
---|
|
object --+ | interface.LinearOperator --+ | SymmetricOperator --+ | HomotheticOperator
Generate a SymmetricOperator performing an homothety, i.e. a multiplication of the input vector by a scalar. Arguments ---------- coef : int float Multiplication coefficient
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from |
|
|||
Inherited from Inherited from |
|
Parameters ---------- shape : length 2 tuple The shape of the operator. Should be square. coef : int or float The multiplication coefficient. Returns ------- An HomotheticOperator instance. Exemple ------- >>> import linear_operators as lo >>> H = lo.HomotheticOperator((3, 3), 2.) >>> H.todense() array([[ 2., 0., 0.], [ 0., 2., 0.], [ 0., 0., 2.]])
|
repr(x)
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Thu Jun 2 17:46:16 2011 | http://epydoc.sourceforge.net |