class_docstr: Represents the vector differential operator, usually represented in
  mathematical expressions as the 'nabla' symbol.
docstr: Returns the gradient of the given scalar field, as a
  Vector instance.
  
  Parameters
  ==========
  
  scalar_field : SymPy expression
      The scalar field to calculate the gradient of.
  
  doit : bool
      If True, the result is returned after calling .doit() on
      each component. Else, the returned expression contains
      Derivative instances
  
  Examples
  ========
  
  >>> from sympy.vector import CoordSys3D, Del
  >>> C = CoordSys3D('C')
  >>> delop = Del()
  >>> delop.gradient(9)
  0
  >>> delop(C.x*C.y*C.z).doit()
  C.y*C.z*C.i + C.x*C.z*C.j + C.x*C.y*C.k
code: def gradient(self, scalar_field, doit=False):
      """
      Returns the gradient of the given scalar field, as a
      Vector instance.
  
      Parameters
      ==========
  
      scalar_field : SymPy expression
          The scalar field to calculate the gradient of.
  
      doit : bool
          If True, the result is returned after calling .doit() on
          each component. Else, the returned expression contains
          Derivative instances
  
      Examples
      ========
  
      >>> from sympy.vector import CoordSys3D, Del
      >>> C = CoordSys3D('C')
      >>> delop = Del()
      >>> delop.gradient(9)
      0
      >>> delop(C.x*C.y*C.z).doit()
      C.y*C.z*C.i + C.x*C.z*C.j + C.x*C.y*C.k
  
      """
  
      return gradient(scalar_field, doit=doit)
  
file_path: sympy/sympy/vector/deloperator.py
imports: from sympy.core import Basic
  from sympy.vector.operators import gradient, divergence, curl
label_desc: Use image node_id 2 for calling the Del obj's underlying member method code with example usage: obj.gradient(scalar_field, doit) and returns: gradient