def METHOD_NAME(cls, linear=None, translation=None, time_reversal=False):
    aug = np.zeros((cls.ndim + 1, cls.ndim + 1))
    aug[-1, -1] = 1
    if linear is None:
        aug[:cls.ndim, :cls.ndim] = np.eye(cls.ndim)
    else:
        aug[:cls.ndim, :cls.ndim] = linear
    if translation is not None:
        aug[:cls.ndim, -1] = translation
    return cls(aug, time_reversal)