def getx(vec):
    """
    Function returns the x value.

    Parameters
    ----------------
    vec: numpy.array

    Returns
    ------------
    The first element corresponding to x value in the vec.
    """
    return vec[0, :]