kmath/kmath-tensors/README.md

36 lines
1.3 KiB
Markdown
Raw Normal View History

# Module kmath-tensors
2021-05-08 14:36:37 +03:00
Common linear algebra operations on tensors.
2021-05-12 21:40:10 +03:00
- [tensor algebra](src/commonMain/kotlin/space/kscience/kmath/tensors/api/TensorAlgebra.kt) : Interface for basic linear algebra operations on tensors (plus, dot, etc.)
- [linear algebra operations](src/commonMain/kotlin/space/kscience/kmath/tensors/api/LinearOpsTensorAlgebra.kt) : Interface for advanced linear algebra operations like LU decomposition, SVD, etc.
2021-05-12 21:43:08 +03:00
- [tensor algebra over Double](src/commonMain/kotlin/space/kscience/kmath/tensors/core/DoubleTensorAlgebra.kt): Full implementation of operations for tensors over `Double`'s.
2021-05-12 21:40:10 +03:00
- [tensor algebra with broadcasting](src/commonMain/kotlin/space/kscience/kmath/tensors/core/BroadcastDoubleTensorAlgebra.kt) : Basic linear algebra operations implemented with broadcasting for tensors over `Double`'s.
## Artifact:
2021-05-08 14:36:37 +03:00
The Maven coordinates of this project are `space.kscience:kmath-tensors:0.3.0-dev-8`.
**Gradle:**
```gradle
repositories {
maven { url 'https://repo.kotlin.link' }
2021-05-08 14:36:37 +03:00
mavenCentral()
}
dependencies {
2021-05-08 14:36:37 +03:00
implementation 'space.kscience:kmath-tensors:0.3.0-dev-8'
}
```
**Gradle Kotlin DSL:**
```kotlin
repositories {
maven("https://repo.kotlin.link")
2021-05-08 14:36:37 +03:00
mavenCentral()
}
dependencies {
2021-05-08 14:36:37 +03:00
implementation("space.kscience:kmath-tensors:0.3.0-dev-8")
}
```