

def SpecificCodeCPP(self):
    s = '\ttemp = pow((x_in-b) / c, 2.0);\n'
    s += '\ttemp = a * (d * (1.0 / (1.0 + temp)) + (1.0-d) * exp(-0.5 * temp));\n'
    return s

dataset/ETHPy150Open zunzun/pyeq2/Models_2D/Peak.py PseudoVoight.SpecificCodeCPP/original