def linear(x):
    """
    Performs linear function on the input elements.
    Linear function: f(x) = x

    :param x: {array}, shape {n_samples,}
            input to the function.
    :return: {array}, shape {n_samples,}
            output of linear function.
    """
    return x