Replies: 2 comments 2 replies
-
KMathContext is a marker for https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-dsl-marker/ functionality. Used to prohibit implicit scope propagation inside inner scope. Basically if for some reason we have two different scopes of the same type on inside another we do not want to occasionally call outer one. The |
Beta Was this translation helpful? Give feedback.
2 replies
-
An additional benefit is that functions marked with |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
There is annotation class
KMathContext
inkmath-core/src/commonMain/kotlin/space/kscience/kmath/operations/Algebra.kt
that is not used anywhere. (All appearances of word "KMathContext" are only declarations of the class in.kt
sources,.api
dump file and diagram in docs.) Is there really any functionality behind it?Beta Was this translation helpful? Give feedback.
All reactions