def compute(self, today, assets, out, *arrays):
        """
        Override this method with a function that writes a value into `out`.
        """
        raise NotImplementedError(
            "{name} must define a compute method".format(
                name=type(self).__name__
            )
        )
def compute ( self , today , assets , out , * arrays ) : raise NotImplementedError ( "{name} must define a compute method" . format ( name = type ( self ) . __name__ ) )
Override this method with a function that writes a value into `out`.