ruspy.model_code.fix_point_alg.kantorovich_step

ruspy.model_code.fix_point_alg.kantorovich_step(ev, trans_mat, obs_costs, disc_fac)[source]

Calculating one Newton-Kantorovich step for approximating the fix-point.

Parameters
evnumpy.array

see Expected value of maintenance

trans_matnumpy.array

see Transition matrix

obs_costsnumpy.array

see Observed costs

disc_facnumpy.float

see Discount factor

Returns
ev_newnumpy.array

see Expected value of maintenance