code: def __init__(self, nsd):
      self.nsd = nsd
      if nsd <= 3:
          coords = symbols("x,y,z")[:nsd]
      else:
          coords = [Symbol("x_%d" % d) for d in range(nsd)]
      self.coords = coords
  
file_path: sympy/examples/advanced/fem.py
imports: from sympy import symbols, Symbol, factorial, Rational, zeros, eye, integrate, diff, pprint, reduced
label_desc: Use image node_id 1 to create a new ReferenceSimplex object  with example: obj = ReferenceSimplex(nsd)