{"id":61418,"library":"fadbad","title":"FADBAD++","description":"FADBAD++ Templates for Automatic Differentiation","status":"active","version":"2.1.0","language":"cpp","source_language":null,"source_url":null,"tags":["automatic-differentiation","math","templates"],"install":[{"cmd":"vcpkg install fadbad","lang":"bash","label":"vcpkg"},{"cmd":"# CMakeLists.txt\nfind_package(fadbad CONFIG REQUIRED)\ntarget_link_libraries(main PRIVATE fadbad::fadbad)","lang":"cmake","label":"CMake"}],"dependencies":[],"imports":[{"symbol":"fadbad.h","correct":"#include <fadbad.h>"}],"quickstart":{"code":"#include <fadbad.h>\n#include <iostream>\n\ndouble f(double x) { return x*x; }\n\nint main() {\n    F<double> x = 3.0;\n    x.diff(0, 1);\n    F<double> y = f(x);\n    std::cout << y.val() << ' ' << y.d(0);\n}","lang":"cpp","description":"Compute derivative of x^2 at x=3"},"warnings":[],"env_vars":null,"search_vec":"'automat':5,8 'automatic-differenti':7 'differenti':6,9 'fadbad':1,2 'math':10 'templat':3,11","created_at":"2026-06-17T04:49:46.498323+00:00","updated_at":"2026-06-17T04:49:46.498323+00:00","problems":[],"ecosystem":"vcpkg","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":null,"github":null,"docs":null,"changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}