def derivativeY(self, *args):
    '\n        Returns the derivative of the function with respect to the Y dimension.\n        This is the second input whenever n_dims < 4 and the third input otherwise.\n        '
    if (self.n_dims >= 4):
        j = 2
    else:
        j = 1
    if (self.i_dim == j):
        return np.ones_like(*args[0])
    else:
        return np.zeros_like(*args[0])
Returns the derivative of the function with respect to the Y dimension.
This is the second input whenever n_dims < 4 and the third input otherwise.
def derivativeY(self, *args):
    '\n        Returns the derivative of the function with respect to the Y dimension.\n        This is the second input whenever n_dims < 4 and the third input otherwise.\n        '
    if (self.n_dims >= 4):
        j = 2
    else:
        j = 1
    if (self.i_dim == j):
        return np.ones_like(*args[0])
    else:
        return np.zeros_like(*args[0])