#NEWLINE# def SpecificCodeCPP( self ) : #NEWLINE# #INDENT# s = '' #NEWLINE# s += '\tdouble K = log( exp(b2*c1*d1) + exp(b2*d1*x_in) );\n' #NEWLINE# s += '\tdouble yII = b1*x_in + K/d1;\n' #NEWLINE# s += '\tdouble L = log( exp(b2*c1*d1) + exp(b2*c2*d1) );\n' #NEWLINE# s += '\tdouble yIII = yII - log( exp(d2*(b1*c2 + L/d1)) + exp(d2*yII) ) / d2;\n' #NEWLINE# s += '\tdouble yII_0 = log( exp(b2*c1*d1) + 1.0) / d1;\n' #NEWLINE# s += '\tdouble yIII_0 = yII_0 - log( exp(d2*(b1*c2 + L/d1)) + exp(d2*yII_0) ) / d2;\n' #NEWLINE# s += '\ttemp = scale * (yIII - yIII_0) + q;\n' #NEWLINE# return self