Kotlin∇: Shape-safe Symbolic Differentiation for Kotlin
- 1. Université de Montréal
Description
Kotlin∇ is a framework for type-safe automatic differentiation in Kotlin. It allows users to express differentiable programs with higher-dimensional data structures and operators. We attempt to restrict syntactically valid constructions to those which are algebraically valid and can be checked at compile-time. By enforcing these constraints in the type system, it eliminates certain classes of runtime errors that may occur during the execution of a differentiable program. Due to type-inference in the language, most types may be safely omitted by the end user. Kotlin∇ strives to be expressive, safe, and notationally similar to mathematics. It is currently pre-release and offers no stability guarantees at this time.
Files
Files
(5.8 MB)
| Name | Size | Download all |
|---|---|---|
|
md5:ea357a2bd61fcad50b77d36cea38f8d7
|
5.8 MB | Download |
Additional details
Related works
- Is derived from
- Software: https://github.com/breandan/kotlingrad/commit/84e951d0f567635abcf774f32c34c5cf0b4e697a (URL)