def reference_vector_argument(arg):
    """
    Determines a reference argument, so as not to duplicate arrays of reals, vectors and row vectors,
    which usually have the same implementation.
    :param arg: argument
    :return: reference argument
    """
    if arg in ("array[] real", "row_vector"):
        return "vector"
    return arg