示例#1
0
文件: ufunc_ops.py 项目: yochju/odl
 def gradient(self):
     """Return the gradient operator."""
     return FunctionalQuotient(ConstantFunctional(self.domain, -1.0),
                               square(self.domain))
示例#2
0
文件: ufunc_ops.py 项目: yochju/odl
 def gradient(self):
     """Return the gradient operator."""
     return FunctionalQuotient(ConstantFunctional(self.domain, 0.5),
                               self)