ruspy.model_code.cost_functions.hyperbolic_costs_dev
- ruspy.model_code.cost_functions.hyperbolic_costs_dev(num_states, scale)[source]
Calculating for each state the derivative of the hyperbolic maintenance cost function.
- Parameters
- num_states
python:int
The size of the state space.
- scale
numpy.float
see Scale
- num_states
- Returns
- dev
numpy.ndarray
A num_states sized one dimensional numpy array containing the derivative of the hyperbolic maintenance cost function for each state.
- dev