Beispiel #1
0
 def func2():
     F = geteval(core, 'tempF')
     vl = geteval(core, 'vl')
     JacFl = jacobian(F, vl)
     return list(
         regularize_dims(sp.Matrix(F)) -
         matvecprod(JacFl, sp.Matrix(vl)))
Beispiel #2
0
 def func():
     G, v = geteval(core, 'G' + n1), geteval(core, 'v' + n2)
     return jacobian(G, v)
Beispiel #3
0
 def func():
     F, v = geteval(core, 'tempF' + n1), geteval(core, 'v' + n2)
     return jacobian(F, v)
Beispiel #4
0
 def func():
     G, v = geteval(core, 'G'+a), geteval(core, 'v'+b)
     return jacobian(G, v)
Beispiel #5
0
    def jacz(self):
        """
Return the jacobian of dissipative function 
:math:`\left[\\mathcal{J}_{\\mathbf z}\right]_{i,j}(\\mathbf w)=\\frac{\partial z_i}{\partial w_j}(\\mathbf w)`.
        """
        return jacobian(self.z, self.w)
Beispiel #6
0
 def jacz(self):
     """
     """
     return jacobian(self.z, self.w)