Published November 21, 2019 | Version 0.2.4

Kotlin∇: Shape-safe Symbolic Differentiation for Kotlin

Authors/Creators

  • 1. Université de Montréal

Contributors

Contact person:

  • 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