| Algorithm 1 The algorithm used to compute the Charlier polynomials |
Input:N = Polynomial size, p = Polynomial parameter. |
Output: = Charlier polynomials. |
1: Initialize with a size of |
2: {Compute initial value}. |
3: {Set the range of n}. |
4:for i in range n do |
5: |
6: end for |
7: {Set the range of n}. |
8: for i in range n do |
9: |
10:end for |
11:for to do |
12: |
13:end for |
14:{Compute the coefficients in “Part 1”} |
15:for to do |
16: for to do |
17: |
18: |
19: |
20: end for |
21: end for |
22: {Compute the coefficients in “Part 2”} |
23:for to do |
24: for to do |
25: |
26: end for |
27: end for |
28: return { Note that in Equation (27) is equal to .} |