Skip to main content
Mathematics and Computer Science Division

Rapsodia: Automatic Differentiation Code

A joint French-American project to combine operator overloading with code generation

Rapsodia is a joint French-American project. The main idea behind Rapsodia is to combine operator overloading with code generation. The generator creates a library consisting of active types and operators overloaded for these active types for a given number n of input variables and a given derivative order o. Because n and o are fixed, the generator can create a specialized code that yields a performance advantage. Rapsodia is open source.