Home | Trees | Indices | Help |
---|
|
1 """Wrap fast hadamard transform (fht) into LinearOperator instances""" 2 import numpy as np 3 import fht as fht_mod 4 from ..ndoperators import ndoperator 57 """ 8 Fast Hadamard transform LinearOperator 9 """ 10 def matvec(arr): 11 return fht_mod.fht(arr, **kargs)12 return lo.ndoperator(shapein, shapein, matvec=matvec, rmatvec=matvec, 13 dtype=np.float64) 14
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Thu Jun 2 17:46:17 2011 | http://epydoc.sourceforge.net |