Problem.context_and_cost

Problem.context_and_cost(context_func, cost_func, residual)[source]