def __init__(self, i_dim=0, n_dims=1):
    '\n        Constructor for a new IdentityFunction.\n\n        Parameters\n        ----------\n        i_dim : int\n            Index of the dimension on which the identity is defined.  f(*x) = x[i]\n        n_dims : int\n            Total number of input dimensions for this function.\n\n        Returns\n        -------\n        None\n        '
    self.i_dim = i_dim
    self.n_dims = n_dims
Constructor for a new IdentityFunction.

Parameters
----------
i_dim : int
    Index of the dimension on which the identity is defined.  f(*x) = x[i]
n_dims : int
    Total number of input dimensions for this function.

Returns
-------
None
def __init__(self, i_dim=0, n_dims=1):
    '\n        Constructor for a new IdentityFunction.\n\n        Parameters\n        ----------\n        i_dim : int\n            Index of the dimension on which the identity is defined.  f(*x) = x[i]\n        n_dims : int\n            Total number of input dimensions for this function.\n\n        Returns\n        -------\n        None\n        '
    self.i_dim = i_dim
    self.n_dims = n_dims