I've just modified <@U2E974ELT>’s algorithm to wor...
# mathematics
a
I've just modified @elizarov’s algorithm to work with any field with extended operation: https://github.com/mipt-npm/kmath/blob/master/kmath-core/src/commonMain/kotlin/scientifik/kmath/misc/AutoDiff.kt It required only a minor work (I used nested contexts a lot). But now, we can use auto-dif with any value type, for which we define field. For example buffers, or functions or whatever 🤯