docstr: 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.
docstr_tok: ["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","."]
code: 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
  
imports: import numpy
  from ..core.errors import InvalidVariableNameError
label_desc: Use image node_id 3 for calling the OptimizationWithContext obj's underlying member method code with example usage: obj.df_nc(x) and returns: df_nocontext_xx