{"id":21159150,"url":"https://github.com/rufflewind/revad","last_synced_at":"2025-08-02T14:07:37.858Z","repository":{"id":54640338,"uuid":"77686799","full_name":"Rufflewind/revad","owner":"Rufflewind","description":"Reverse-mode automatic differentiation in Rust (experiment)","archived":false,"fork":false,"pushed_at":"2021-02-06T19:41:27.000Z","size":11,"stargazers_count":63,"open_issues_count":0,"forks_count":11,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-07-09T14:46:55.637Z","etag":null,"topics":["math"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/Rufflewind.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":"2016-12-30T13:07:12.000Z","updated_at":"2025-04-17T02:14:52.000Z","dependencies_parsed_at":"2022-08-13T22:31:01.033Z","dependency_job_id":null,"html_url":"https://github.com/Rufflewind/revad","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Rufflewind/revad","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rufflewind%2Frevad","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rufflewind%2Frevad/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rufflewind%2Frevad/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rufflewind%2Frevad/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Rufflewind","download_url":"https://codeload.github.com/Rufflewind/revad/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rufflewind%2Frevad/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268401594,"owners_count":24244464,"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","status":"online","status_checked_at":"2025-08-02T02:00:12.353Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["math"],"created_at":"2024-11-20T12:59:43.051Z","updated_at":"2025-08-02T14:07:37.828Z","avatar_url":"https://github.com/Rufflewind.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"## revad: Reverse-mode automatic differentiation demo\n\nThis is a demonstration of how gradients could be calculated using reverse-mode automatic differentiation.\n\n~~~rust\nlet t = Tape::new();\nlet x = t.var(0.5);\nlet y = t.var(4.2);\nlet z = x * y + x.sin();\nlet grad = z.grad();\nprintln!(\"z = {}\", z.value());       // z = 2.579425538604203\nprintln!(\"∂z/∂x = {}\", grad.wrt(x)); // ∂z/∂x = 5.077582561890373\nprintln!(\"∂z/∂y = {}\", grad.wrt(y)); // ∂z/∂y = 0.5\n~~~\n\nThis library is an experiment/demonstration/prototype and is therefore woefully incomplete.  Feel free to use its [ideas](ideas.md) to build an actual AD library!\n\n## Usage\n\nAdd this to your [`Cargo.toml`](http://doc.crates.io/specifying-dependencies.html):\n\n~~~toml\n[dependencies]\nrevad = { git = \"https://github.com/Rufflewind/revad\" }\n~~~\n\nand add this line to the [root module](https://doc.rust-lang.org/book/crates-and-modules.html#basic-terminology-crates-and-modules) of your crate:\n\n~~~rust\nextern crate revad;\n~~~\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frufflewind%2Frevad","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frufflewind%2Frevad","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frufflewind%2Frevad/lists"}