ruspy.model_code.fix_point_alg.contr_op_dev_wrt_rc

ruspy.model_code.fix_point_alg.contr_op_dev_wrt_rc(trans_mat, maint_choice_prob)[source]

Calculating the derivative of the contraction mapping with respect to the replacement costs

Parameters
trans_matnumpy.ndarray

see Transition matrix

maint_choice_probnumpy.ndarray

A num_states sized one dimensional numpy array containing the derivative of the maintenance cost function for one particular parameter.

Returns
devnumpy.ndarray

A num_states sized one dimensional numpy array containing the derivative of the contraction mapping with respect to the replacement cost parameter.