class_docstr: This class stores an element of the `factor_base`.
      
class_docstr_tok: ["This","class","stores","an","element","of","the","`","factor_base","`","."]
docstr: Initialization of factor_base_elem.
  
  Parameters
  ==========
  
  prime : prime number of the factor_base
  tmem_p : Integer square root of x**2 = n mod prime
  log_p : Compute Natural Logarithm of the prime
docstr_tok: ["Initialization","of","factor_base_elem",".","Parameters","==========","prime",":","prime","number","of","the","factor_base","tmem_p",":","Integer","square","root","of","x","*","*","2","=","n","mod","prime","log_p",":","Compute","Natural","Logarithm","of","the","prime"]
code: def __init__(self, prime, tmem_p, log_p):
      """
      Initialization of factor_base_elem.
  
      Parameters
      ==========
  
      prime : prime number of the factor_base
      tmem_p : Integer square root of x**2 = n mod prime
      log_p : Compute Natural Logarithm of the prime
      """
      self.prime = prime
      self.tmem_p = tmem_p
      self.log_p = log_p
      self.soln1 = None
      self.soln2 = None
      self.a_inv = None
      self.b_ainv = None
  
imports: from sympy.core.random import _randint
  from sympy.external.gmpy import gcd, invert, sqrt
  from sympy.ntheory.residue_ntheory import _sqrt_mod_prime_power
  from sympy.ntheory import isprime
  from math import log, sqrt
label_desc: Use image node_id 1 to create a new FactorBaseElem object  with example: obj = FactorBaseElem(prime, tmem_p, log_p)