Пример #1
0
def Model_hess(params):
	fA, fC, r, sA, sC, z1, z2=params
	rml.fullModel(0, fA, fC, r, sA, sC, z1, z2)
	return ( np.multiply( np.array(rml.get_hess()).reshape(7,7), 1) )
Пример #2
0
def FullModel(params):
	e, fA, fC, r, sA, sC, z1, z2=params
	rml.fullModel(e, fA, fC, r, sA, sC, z1, z2)
	return (-rml.get_ll() )
Пример #3
0
def Model_jac(params):
	fA, fC, r, sA, sC, z1, z2=params
	rml.fullModel(0, fA, fC, r, sA, sC, z1, z2)
	return (np.multiply( rml.get_jac(), 1) )