class_docstr: Super class containing functionality common to vectors and
  dyadics.
  Named so because the representation of these quantities in
  sympy.vector is dependent on the basis they are expressed in.
class_docstr_tok: ["Super","class","containing","functionality","common","to","vectors","and","dyadics",".","Named","so","because","the","representation","of","these","quantities","in","sympy.vector","is","dependent","on","the","basis","they","are","expressed","in","."]
docstr: Implements the SymPy factor routine, on the scalar parts
  of a basis-dependent expression.
  
  factor's documentation
  ========================
code: def factor(self, *args, **kwargs):
      """
      Implements the SymPy factor routine, on the scalar parts
      of a basis-dependent expression.
  
      factor's documentation
      ========================
  
      """
      fctr_components = [
          fctr(v, *args, **kwargs) * k
          for k, v in self.components.items()
      ]
      return self._add_func(*fctr_components)
  
imports: from __future__ import annotations
  from typing import TYPE_CHECKING
  from sympy.simplify import simplify, trigsimp
  from sympy.core.decorators import call_highest_priority, _sympifyit
  from sympy.core.assumptions import StdFactKB
  from sympy.core.function import diff
  from sympy.integrals.integrals import Integral
  from sympy.polys.polytools import factor
  from sympy.core import S, Add, Mul
  from sympy.core.expr import Expr
label_desc: Use image node_id 18 for calling the BasisDependent obj's underlying member method code with example usage: obj.factor() and returns: self