def bellman_operator(self, v, Tv=None, sigma=None):
        vals = self.R + self.beta * self.Q.dot(v)  # Shape: (L,) or (n, m)

        if Tv is None:
            Tv = np.empty(self.num_states)
        self.s_wise_max(vals, out=Tv, out_argmax=sigma)
        return Tv
starting dirs & files:
dataset/ETHPy150Open QuantEcon/QuantEcon.py/quantecon/markov/ddp.py/DiscreteDP.bellman_operator--crossover with--dataset/ETHPy150Open kenfar/DataGristle/scripts/tests/test_gristle_dir_merger_cmd.py/TestMatchOnNameOnly.test_dup_files_and_onmatch_is_usenewest