An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

diffsharp

DiffSharp is an automatic differentiation (AD) library. AD allows exact and efficient calculation of derivatives, by systematically invoking the chain rule of calculus at the elementary operator level during program execution. AD is different from numerical differentiation, which is prone to truncation and round-off errors, and symbolic differentiation, which is affected by expression swell and cannot fully handle algorithmic control flow. Using the DiffSharp library, derivative calculations (gradients, Hessians, Jacobians, directional derivatives, and matrix-free Hessian- and Jacobian-vector products) can be incorporated with minimal change into existing algorithms. Diffsharp supports nested forward and reverse AD up to any level, meaning that you can compute exact higher-order derivatives or differentiate functions that are internally making use of differentiation. Please see the API Overview page for a list of available operations. The library is under active development by Atılım Güneş Baydin and Barak A. Pearlmutter mainly for research applications in machine learning, as part of their work at the Brain and Computation Lab, Hamilton Institute, National University of Ireland Maynooth. DiffSharp is implemented in the F# language and can be used from C# and the other languages running on .NET Core, Mono, or the .NET Framework; targeting the 64 bit platform. It is tested on Linux and Windows. We are working on interfaces/ports to other languages.

Ecosystem
nuget.org
Latest Release
0.7.7
about 10 years ago
Versions
28
Downloads
55,897 total
Past Dependents
Include Past Dependents

Check this option to include packages that no longer depend on this package in their latest version but previously did.

Filter
Filter by Kind
Links
Registry nuget.org
Source Repository
JSON API View JSON
CodeMeta codemeta.json
Package Details
PURL pkg:nuget/diffsharp
spec
License BSD-2-Clause
First Release over 11 years ago
Last Synced 22 days ago
Repository
Stars 605 on GitHub
Forks 70 on GitHub
Rankings on nuget.org
Downloads Top 7.4%