class_docstr: References
  ==========
  
  .. [1] Holt, D., Eick, B., O'Brien, E.
         "Handbook of Computational Group Theory"
         Section 8.1.3
class_docstr_tok: ["References","==========","..","[","1","]","Holt",",","D.",",","Eick",",","B.",",","O'Brien",",","E.","``","Handbook","of","Computational","Group","Theory","''","Section","8.1.3"]
docstr: Return the exponent vector for induced pcgs.
docstr_tok: ["Return","the","exponent","vector","for","induced","pcgs","."]
code: def constructive_membership_test(self, ipcgs, g):
      """
      Return the exponent vector for induced pcgs.
      """
      e = [0] * len(ipcgs)
      h = g
      d = self.depth(h)
      for i, gen in enumerate(ipcgs):
          while self.depth(gen) == d:
              f = self.leading_exponent(h) * self.leading_exponent(gen)
              f = f % self.relative_order[d - 1]
              h = gen ** (-f) * h
              e[i] = f
              d = self.depth(h)
      if h == 1:
          return e
      return False
  
imports: from sympy.ntheory.primetest import isprime
  from sympy.combinatorics.perm_groups import PermutationGroup
  from sympy.printing.defaults import DefaultPrinting
  from sympy.combinatorics.free_groups import free_group
label_desc: Use image node_id 13 for calling the Collector obj's underlying member method code with example usage: obj.constructive_membership_test(ipcgs, g) and returns: False, e