Algorithm 2 Product basis functions A

From: Performant implementation of the atomic cluster expansion (PACE) and application to copper and silicon

1:

\({\varphi }_{i}^{(p)}=0\)

2:

forv ← basis, ν = len(v) do

3:

\({{\bf{A}}}_{i{\bf{v}}}={\rm{Re}}(\mathop{\prod }\nolimits_{t = 1}^{\nu }{A}_{i{v}_{t}})\)

4:

 for p do

5:

  \({\varphi }_{i}^{(p)}\,+\!={\tilde{{\bf{c}}}}_{{\mu }_{i}{\bf{v}}}^{(p)}\,\cdot \,{{\bf{A}}}_{i{\bf{v}}}\)

6:

 end for

7:

end for