swift
08220881 - [AutoDiff] Add binary version of `differentiableFunction`. (#21954)

Comment changes are shownComment changes are hidden
Commit
6 years ago
[AutoDiff] Add binary version of `differentiableFunction`. (#21954) Add a new version of `differentiableFunction` that supports binary functions. Add runtime tests. Note: type-checker errors regarding closures (like the arguments to `differentiableFunction`) are inscrutable and often don't highlight actual errors in source code. This is a significant hurdle for usability.
Author
Parents
  • stdlib/public/core
    • File
      AutoDiff.swift
  • test/AutoDiff
    • File
      custom_derivatives.swift