Exemple #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)))
Exemple #2
0
 def func():
     G, v = geteval(core, 'G' + n1), geteval(core, 'v' + n2)
     return jacobian(G, v)
Exemple #3
0
 def func():
     F, v = geteval(core, 'tempF' + n1), geteval(core, 'v' + n2)
     return jacobian(F, v)
Exemple #4
0
 def func():
     G, v = geteval(core, 'G'+a), geteval(core, 'v'+b)
     return jacobian(G, v)
Exemple #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)
Exemple #6
0
 def jacz(self):
     """
     """
     return jacobian(self.z, self.w)