class_docstr: A reference frame in classical mechanics.
  
  ReferenceFrame is a class used to represent a reference frame in classical
  mechanics. It has a standard basis of three unit vectors in the frame's
  x, y, and z directions.
  
  It also can have a rotation relative to a parent frame; this rotation is
  defined by a direction cosine matrix relating this frame's basis vectors to
  the parent frame's basis vectors.  It can also have an angular velocity
  vector, defined in another frame.
docstr: Returns the partial angular velocities of this frame in the given
  frame with respect to one or more provided generalized speeds.
  
  Parameters
  ==========
  frame : ReferenceFrame
      The frame with which the angular velocity is defined in.
  gen_speeds : functions of time
      The generalized speeds.
  
  Returns
  =======
  partial_velocities : tuple of Vector
      The partial angular velocity vectors corresponding to the provided
      generalized speeds.
  
  Examples
  ========
  
  >>> from sympy.physics.vector import ReferenceFrame, dynamicsymbols
  >>> N = ReferenceFrame('N')
  >>> A = ReferenceFrame('A')
  >>> u1, u2 = dynamicsymbols('u1, u2')
  >>> A.set_ang_vel(N, u1 * A.x + u2 * N.y)
  >>> A.partial_velocity(N, u1)
  A.x
  >>> A.partial_velocity(N, u1, u2)
  (A.x, N.y)
docstr_tok: ["Returns","the","partial","angular","velocities","of","this","frame","in","the","given","frame","with","respect","to","one","or","more","provided","generalized","speeds",".","Parameters","==========","frame",":","ReferenceFrame","The","frame","with","which","the","angular","velocity","is","defined","in",".","gen_speeds",":","functions","of","time","The","generalized","speeds",".","Returns","=======","partial_velocities",":","tuple","of","Vector","The","partial","angular","velocity","vectors","corresponding","to","the","provided","generalized","speeds",".","Examples","========",">",">",">","from","sympy.physics.vector","import","ReferenceFrame",",","dynamicsymbols",">",">",">","N","=","ReferenceFrame","(","'N","'",")",">",">",">","A","=","ReferenceFrame","(","'","A","'",")",">",">",">","u1",",","u2","=","dynamicsymbols","(","'u1",",","u2","'",")",">",">",">","A.set_ang_vel","(","N",",","u1","*","A.x","+","u2","*","N.y",")",">",">",">","A.partial_velocity","(","N",",","u1",")","A.x",">",">",">","A.partial_velocity","(","N",",","u1",",","u2",")","(","A.x",",","N.y",")"]
code: def partial_velocity(self, frame, *gen_speeds):
      """Returns the partial angular velocities of this frame in the given
      frame with respect to one or more provided generalized speeds.
  
      Parameters
      ==========
      frame : ReferenceFrame
          The frame with which the angular velocity is defined in.
      gen_speeds : functions of time
          The generalized speeds.
  
      Returns
      =======
      partial_velocities : tuple of Vector
          The partial angular velocity vectors corresponding to the provided
          generalized speeds.
  
      Examples
      ========
  
      >>> from sympy.physics.vector import ReferenceFrame, dynamicsymbols
      >>> N = ReferenceFrame('N')
      >>> A = ReferenceFrame('A')
      >>> u1, u2 = dynamicsymbols('u1, u2')
      >>> A.set_ang_vel(N, u1 * A.x + u2 * N.y)
      >>> A.partial_velocity(N, u1)
      A.x
      >>> A.partial_velocity(N, u1, u2)
      (A.x, N.y)
  
      """
  
      partials = [
          self.ang_vel_in(frame).diff(speed, frame, var_in_dcm=False)
          for speed in gen_speeds
      ]
  
      if len(partials) == 1:
          return partials[0]
      else:
          return tuple(partials)
  
imports: from sympy import diff, expand, sin, cos, sympify, eye, zeros, ImmutableMatrix, MatrixBase
  from sympy.core.symbol import Symbol
  from sympy.simplify.trigsimp import trigsimp
  from sympy.physics.vector.vector import Vector, _check_vector
  from sympy.utilities.misc import translate
  from warnings import warn
label_desc: Use image node_id 37 for calling the ReferenceFrame obj's underlying member method code with example usage: obj.partial_velocity(frame) and returns: partials, tuple