def METHOD_NAME(a: ArrayLike, mode="reduced"):
    a = _atleast_float_1(a)
    result = torch.linalg.METHOD_NAME(a, mode=mode)
    if mode == "r":
        # match NumPy
        result = result.R
    return result