clad
vgvassilev/clad · Public GitHub repository
clad -- automatic differentiation for C/C++
Open the project to try its demo, view the repository, or save it to your collection. Repository and demo actions use RepoShelf’s sign-in flow.

About this project
Author-written excerpt from the project README.
Clad is a source-transformation automatic differentiation (AD) library for C++, implemented as a plugin for the Clang compiler.
Clad enables automatic differentiation (AD) for C++. It is based on LLVM compiler infrastructure and is a plugin for Clang compiler. Clad is based on source code transformation. Given C++ source code of a mathematical function, it can automatically generate C++ code for computing derivatives of the function. It supports both forward-mode and reverse-mode AD.Clad has extensive coverage of modern C++ features and a robust fallback and recovery system in place.
Requirements and intended audience
Clad is a source-transformation automatic differentiation (AD) library for C++, implemented as a plugin for the Clang compiler.
Not recorded: account, external api key, paid service, self-hosting. Missing information does not mean there are no requirements.
Statements extracted from the author’s documentation · Checked 2026-11-02. Source: https://github.com/vgvassilev/clad/blob/master/README.md
Recorded maintenance information
Last recorded source update: 2026-11-13. Saved release: v2.5 · 2026-09-28. These dates do not guarantee ongoing maintenance.
- Technologies
- C++
- Licence
- LGPL-3.0. Changes and distribution carry source-sharing and notice conditions; linking rules depend on the licence version.
- Demo check
- A public page loaded on 2026-11-23. This does not test every feature.
Browse related categories
More projects to explore
awesome-selfhosted
awesome-selfhosted/awesome-selfhosted
A list of Free Software network services and web applications which can be hosted on your own servers
awesome-go
avelino/awesome-go
A curated list of awesome Go frameworks, libraries and software
NextChat
ChatGPTNextWeb/NextChat
✨ Zero-config AI chat assistant. No API key needed — sign up and instantly chat with GPT-5, Claude 4, Gemini 2.5, DeepSeek & 100+ top models. Pay-as-you-go saves you more. Available on Web, iOS, macOS, Android, Linux, Windows.
vue-element-admin
PanJiaChen/vue-element-admin
A magical vue admin https://panjiachen.github.io/vue-element-admin