def df_nc(self,x):
        '''
        Wrapper of the derivative of *f*: takes an input x with size of the not
        fixed dimensions expands it and evaluates the gradient of the entire function.
        '''
        x = np.atleast_2d(x)
        xx = self.context_manager._expand_vector(x)
        _, df_nocontext_xx = self.f_df(xx)
        df_nocontext_xx = df_nocontext_xx[:,np.array(self.context_manager.noncontext_index)]
        return df_nocontext_xx
def df_nc ( self , x ) : x = np . atleast_2d ( x ) xx = self . context_manager . _expand_vector ( x ) _ , df_nocontext_xx = self . f_df ( xx ) df_nocontext_xx = df_nocontext_xx [ : , np . array ( self . context_manager . noncontext_index ) ] return df_nocontext_xx
Wrapper of the derivative of *f*: takes an input x with size of the not
        fixed dimensions expands it and evaluates the gradient of the entire function.