-
Notifications
You must be signed in to change notification settings - Fork 45
Open
Labels
enhancementNew feature or requestNew feature or request
Description
While Multik supports https://github.com/Kotlin/multik/blob/develop/multik-core/src/commonMain/kotlin/org/jetbrains/kotlinx/multik/ndarray/data/Dimensions.kt up to 4 type-safe dimensions, it might be cool to attempt to make a K2 compiler plugin that can support any number of dimensions based on what the user creates.
It's just a wild idea, of course, but I believe it to be possible. It would certainly show the strength of the Kotlin 2.0 compiler while enhancing matrix multiplications at the same time :)
In some cases it could even simplify the maintainability, as you'd no longer have to write each operating for 1, 2, 3, 4, and n dimensions, just once for n.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request