{"id":19867886,"url":"https://github.com/bgranzow/diff","last_synced_at":"2025-05-02T07:31:04.760Z","repository":{"id":36191914,"uuid":"40496115","full_name":"bgranzow/diff","owner":"bgranzow","description":"automatic differentiation","archived":false,"fork":false,"pushed_at":"2015-08-11T20:35:17.000Z","size":168,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-06T23:24:50.123Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bgranzow.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-08-10T17:30:41.000Z","updated_at":"2022-08-26T19:56:02.000Z","dependencies_parsed_at":"2022-08-02T17:30:16.858Z","dependency_job_id":null,"html_url":"https://github.com/bgranzow/diff","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bgranzow%2Fdiff","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bgranzow%2Fdiff/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bgranzow%2Fdiff/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bgranzow%2Fdiff/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bgranzow","download_url":"https://codeload.github.com/bgranzow/diff/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252002005,"owners_count":21678467,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-12T15:31:05.366Z","updated_at":"2025-05-02T07:31:04.478Z","avatar_url":"https://github.com/bgranzow.png","language":"C++","readme":"## diff\na utility for automatic differentiation\n\nimplements a forward automatic differentiation variable (FAD) via operator overloading\n\n### diff.h\n* a single header implementation of a FAD variable\n* conceptually simple\n* uses temporary variables at each operation step\n* temporary variables are sloooow\n\n### expr.h\n* an additional header that implements FAD with expression templates\n* eliminates the need for temporary variables during each operation\n* expression templates are fast (usually)\n\n### useful information\n* [wikipedia](https://en.wikipedia.org/wiki/Automatic_differentiation) has a good introduction to the subject of automatic differentiation\n* [this](http://link.springer.com/article/10.1007%2Fs007910000048#page-1) paper by Aubert et al. discusses FAD with expression templates and an application to computational fluid dynamics\n* [this](http://arxiv.org/abs/1205.3506) paper by Phipps and Pawlowski contains a good discussion about FAD with expression templates, some of its limitations, and the potential to improve its performance \n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbgranzow%2Fdiff","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbgranzow%2Fdiff","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbgranzow%2Fdiff/lists"}