def compute(self, today, assets, out, bv, ev, rateint, rateinf): l = self.window_length bv_yield_ev = bv[-l] / ev[-l] out[:] = adjust_for_inflation(bv_yield_ev, l, rateint, rateinf)
def compute(self, today, assets, out, sales, ev, rateint, rateinf): l = self.window_length cf_yield_ev = sales[-l] / ev[-l] out[:] = adjust_for_inflation(cf_yield_ev, l, rateint, rateinf)
def compute(self, today, assets, out, earning, ev, rateint, rateinf): l = self.window_length earning_yield_ev = earning[-l] / ev[-l] out[:] = adjust_for_inflation(earning_yield_ev, l, rateint, rateinf)