Comments (5)
There is a pow
function, but it raises the entire matrix to the power. It makes sense to add the function you described to the library
from multik.
@devcrocod Where can I find matrix power feature you referenced?
from multik.
mk.linalg.pow(ndarray, n)
- https://kotlin.github.io/multik/multik-core/org.jetbrains.kotlinx.multik.api.linalg/-lin-alg/pow.html?query=abstract%20fun%20%3CT%20:%20Number%3E%20pow(mat:%20MultiArray%3CT,%20D2%3E,%20n:%20Int):%20NDArray%3CT,%20D2%3E
from multik.
Thanks. Any plans to support power to float/double besides just int? What about in-place?
from multik.
Any plans to support power to float/double besides just int?
Yes, it is planned
What about in-place?
I'm avoiding using inplace operations for now, as it creates a lot of problems. I tried to add a new API for such operations, but I see that it is not used, so I will remove it in subsequent releases
from multik.
Related Issues (20)
- [kotlin/native] use pinned arrays
- [kotlin/native] review math, linalg, and stat object
- update to kotlin 1.9.22
- migrate to K2
- type mismatch with `Short` on wasm HOT 1
- Type casting in multidimensional case (ND) throws an exception in wasm
- [K2] Overload resolution ambiguity
- bug with casting .toFloat on JS
- [Kotlin/Native] pin/unpin in concurrent code
- [Kotlin/Native] argmin and argmax returns 0
- Modification of return types in math functions from Boolean
- [Kotlin/Native] median returns 0
- [Kotlin/Native] Matrix slicing and vector for Float multiplication resulting in incorrect output
- Add one-liner description to the repository
- Bug with publish KMP to sonatype
- Overload resolution ambiguity. HOT 3
- [native] linalg implementations deep copy input arrays HOT 2
- combination of android sharedUserId and multik leading to crashes HOT 3
- multik in andriod14 οΌthe transpose funtion is too slow HOT 2
- Update dokka
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from multik.