class_docstr: Minus one plus cosine of x, i.e. cos(x) - 1. For use when x is close to zero.
  
  Helper class for use with e.g. scipy.special.cosm1
  See: https://docs.scipy.org/doc/scipy/reference/generated/scipy.special.cosm1.html
class_docstr_tok: ["Minus","one","plus","cosine","of","x",",","i.e",".","cos","(","x",")","-","1",".","For","use","when","x","is","close","to","zero",".","Helper","class","for","use","with","e.g",".","scipy.special.cosm1","See",":","https",":","\/\/docs.scipy.org\/doc\/scipy\/reference\/generated\/scipy.special.cosm1.html"]
docstr: Returns the first derivative of this function.
docstr_tok: ["Returns","the","first","derivative","of","this","function","."]
code: def fdiff(self, argindex=1):
      """
      Returns the first derivative of this function.
      """
      if argindex == 1:
          return -sin(*self.args)
      else:
          raise ArgumentIndexError(self, argindex)
  
file_path: sympy/sympy/codegen/scipy_nodes.py
imports: from sympy.core.function import Add, ArgumentIndexError, Function
  from sympy.core.power import Pow
  from sympy.core.singleton import S
  from sympy.functions.elementary.exponential import log
  from sympy.functions.elementary.trigonometric import cos, sin
label_desc: Use image node_id 1 for calling the cosm1 obj's underlying member method code with example usage: obj.fdiff(argindex) and returns: unknown