Functional inflation calculation