Source: https://mathadoc.sesamath.net/Documents/mp/bep/bepf_gen/A4c_f_gene.PDF