def precompute_gbt_B(self, delta, alpha=0.5):
        """Return the B matrix of the gbt discretization."""
        d = self.precompute_backward(alpha*delta)
        # return causal_convolution(d, torch.ones_like(d)) * self.b
        return torch.cumsum(d, -1) * self.b
Return the B matrix of the gbt discretization.
analyze/convnexts4nd/src/models/hippo/transition.py