#
Jacobian = []
for i in range( len(dX) ):
- X_plus_dXi = X.A1
+ X_plus_dXi = numpy.array( X.A1 )
X_plus_dXi[i] = X[i] + dX[i]
- X_moins_dXi = X.A1
+ X_moins_dXi = numpy.array( X.A1 )
X_moins_dXi[i] = X[i] - dX[i]
#
HX_plus_dXi = FunctionH( X_plus_dXi )
#
HX_plus_dX = []
for i in range( len(dX) ):
- X_plus_dXi = X.A1
+ X_plus_dXi = numpy.array( X.A1 )
X_plus_dXi[i] = X[i] + dX[i]
#
HX_plus_dXi = FunctionH( X_plus_dXi )
# ----------------------------------------------
Jacobienne = []
for i in range( len(dX) ):
- X_plus_dXi = X.A1
+ X_plus_dXi = numpy.array( X.A1 )
X_plus_dXi[i] = X[i] + dX[i]
- X_moins_dXi = X.A1
+ X_moins_dXi = numpy.array( X.A1 )
X_moins_dXi[i] = X[i] - dX[i]
#
HX_plus_dXi = FunctionH( X_plus_dXi )
# ----------------------------------------------
HX_plus_dX = []
for i in range( len(dX) ):
- X_plus_dXi = X.A1
+ X_plus_dXi = numpy.array( X.A1 )
X_plus_dXi[i] = X[i] + dX[i]
#
HX_plus_dXi = FunctionH( X_plus_dXi )