def derivativeW(self, w, x, y, z):
    '\n        Evaluates the partial derivative with respect to w (the first argument)\n        of the interpolated function at the given input.\n\n        Parameters\n        ----------\n        w : np.array or float\n            Real values to be evaluated in the interpolated function.\n        x : np.array or float\n            Real values to be evaluated in the interpolated function; must be\n            the same size as w.\n        y : np.array or float\n            Real values to be evaluated in the interpolated function; must be\n            the same size as w.\n        z : np.array or float\n            Real values to be evaluated in the interpolated function; must be\n            the same size as w.\n\n        Returns\n        -------\n        dfdw : np.array or float\n            The derivative with respect to w of the interpolated function eval-\n            uated at w,x,y,z: dfdw = f_w(w,x,y,z), with the same shape as inputs.\n        '
    wa = np.asarray(w)
    xa = np.asarray(x)
    ya = np.asarray(y)
    za = np.asarray(z)
    return self._derW(wa.flatten(), xa.flatten(), ya.flatten(), za.flatten()).reshape(wa.shape)
Evaluates the partial derivative with respect to w (the first argument)
of the interpolated function at the given input.

Parameters
----------
w : np.array or float
    Real values to be evaluated in the interpolated function.
x : np.array or float
    Real values to be evaluated in the interpolated function; must be
    the same size as w.
y : np.array or float
    Real values to be evaluated in the interpolated function; must be
    the same size as w.
z : np.array or float
    Real values to be evaluated in the interpolated function; must be
    the same size as w.

Returns
-------
dfdw : np.array or float
    The derivative with respect to w of the interpolated function eval-
    uated at w,x,y,z: dfdw = f_w(w,x,y,z), with the same shape as inputs.
def derivativeW(self, w, x, y, z):
    '\n        Evaluates the partial derivative with respect to w (the first argument)\n        of the interpolated function at the given input.\n\n        Parameters\n        ----------\n        w : np.array or float\n            Real values to be evaluated in the interpolated function.\n        x : np.array or float\n            Real values to be evaluated in the interpolated function; must be\n            the same size as w.\n        y : np.array or float\n            Real values to be evaluated in the interpolated function; must be\n            the same size as w.\n        z : np.array or float\n            Real values to be evaluated in the interpolated function; must be\n            the same size as w.\n\n        Returns\n        -------\n        dfdw : np.array or float\n            The derivative with respect to w of the interpolated function eval-\n            uated at w,x,y,z: dfdw = f_w(w,x,y,z), with the same shape as inputs.\n        '
    wa = np.asarray(w)
    xa = np.asarray(x)
    ya = np.asarray(y)
    za = np.asarray(z)
    return self._derW(wa.flatten(), xa.flatten(), ya.flatten(), za.flatten()).reshape(wa.shape)