Commit a7f9c734 authored by Philipp Arras's avatar Philipp Arras
Browse files

Add sqrt to linearization

parent f683a520
......@@ -298,6 +298,9 @@ class Linearization(object):
tmp2 = makeOp(1. - (tmp == min) - (tmp == max))
return, tmp2(self._jac))
def sqrt(self):
return self.__pow__(0.5)
def sin(self):
tmp = self._val.sin()
tmp2 = self._val.cos()
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment