Commit a7f9c734 authored by Philipp Arras's avatar Philipp Arras

Add sqrt to linearization

parent f683a520
Pipeline #52862 passed with stages
in 8 minutes and 7 seconds
......@@ -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()
Markdown is supported
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