P. Clote developed and implemented the dynamic programming algorithm in Python to computer the Boltzmann partition function Zk for all secondary structures of all k-point mutants of a given RNA sequence length n, where 0 ≤ k ≤ n. The partition function then yields the expected energy of all secondary structures of all k-point mutants, which equals RT2 times the partial derivative of the logarithm of the partition function Zk with respect to absolute temperature T.
Tony Schreiner translated the Python code of P. Clote into C.