MultikDivisionTensorAlgebra

Constructors

Link copied to clipboard
constructor(multikEngine: Engine)

Functions

Link copied to clipboard
open override fun add(left: StructureND<T>, right: StructureND<T>): Tensor<T>
Link copied to clipboard
open override fun StructureND<T>.argMax(dim: Int, keepDim: Boolean): Tensor<Int>
Link copied to clipboard
open override fun StructureND<T>.argMin(dim: Int, keepDim: Boolean): Tensor<Int>
Link copied to clipboard

Convert a tensor to MultikTensor if necessary. If tensor is converted, changes on the resulting tensor are not reflected back onto the source

Link copied to clipboard
open fun binaryOperation(operation: String, left: StructureND<T>, right: StructureND<T>): StructureND<T>
Link copied to clipboard
open override fun binaryOperationFunction(operation: String): (left: StructureND<T>, right: StructureND<T>) -> StructureND<T>
Link copied to clipboard
open fun bindSymbol(value: String): StructureND<T>
Link copied to clipboard
open fun bindSymbolOrNull(value: String): StructureND<T>?
Link copied to clipboard
open override fun diagonalEmbedding(diagonalEntries: StructureND<T>, offset: Int, dim1: Int, dim2: Int): MultikTensor<T>
Link copied to clipboard
open operator override fun T.div(arg: StructureND<T>): MultikTensor<T>
open operator override fun StructureND<T>.div(arg: T): MultikTensor<T>
open operator override fun StructureND<T>.div(arg: StructureND<T>): MultikTensor<T>
open operator fun StructureND<T>.div(k: Number): StructureND<T>
Link copied to clipboard
open operator override fun Tensor<T>.divAssign(value: T)
open operator override fun Tensor<T>.divAssign(arg: StructureND<T>)
Link copied to clipboard
open override fun divide(left: StructureND<T>, right: StructureND<T>): StructureND<T>
Link copied to clipboard
open infix override fun StructureND<T>.dot(other: StructureND<T>): MultikTensor<T>
Link copied to clipboard
open fun export(arg: StructureND<T>): StructureND<T>
Link copied to clipboard
open fun <F : StructureFeature> getFeature(structure: StructureND<T>, type: KClass<out F>): F?
Link copied to clipboard
open override fun Tensor<T>.getTensor(i: Int): MultikTensor<T>
open fun Tensor<T>.getTensor(first: Int, second: Int): Tensor<T>
Link copied to clipboard
open operator fun (T) -> T.invoke(structure: StructureND<T>): StructureND<T>
Link copied to clipboard
open override fun StructureND<T>.map(transform: A.(T) -> T): MultikTensor<T>
Link copied to clipboard
open override fun StructureND<T>.mapIndexed(transform: A.(index: IntArray, T) -> T): MultikTensor<T>
Link copied to clipboard
inline fun <T> MutableStructureND<T>.mapIndexedInPlace(operation: (index: IntArray, t: T) -> T)

Transform a structure element-by element in place.

Link copied to clipboard
open override fun StructureND<T>.max(): T?
open override fun StructureND<T>.max(dim: Int, keepDim: Boolean): Tensor<T>
Link copied to clipboard
open override fun StructureND<T>.min(): T?
open override fun StructureND<T>.min(dim: Int, keepDim: Boolean): Tensor<T>
Link copied to clipboard
open operator override fun T.minus(arg: StructureND<T>): MultikTensor<T>
open operator override fun StructureND<T>.minus(arg: T): MultikTensor<T>
open operator override fun StructureND<T>.minus(arg: StructureND<T>): MultikTensor<T>
Link copied to clipboard
open operator override fun Tensor<T>.minusAssign(value: T)
open operator override fun Tensor<T>.minusAssign(arg: StructureND<T>)
Link copied to clipboard
open override fun multiply(left: StructureND<T>, right: StructureND<T>): Tensor<T>
Link copied to clipboard
open operator override fun T.plus(arg: StructureND<T>): MultikTensor<T>
open operator override fun StructureND<T>.plus(arg: T): MultikTensor<T>
open operator override fun StructureND<T>.plus(arg: StructureND<T>): MultikTensor<T>
Link copied to clipboard
open operator override fun Tensor<T>.plusAssign(value: T)
open operator override fun Tensor<T>.plusAssign(arg: StructureND<T>)
Link copied to clipboard
abstract fun scalar(value: T): MultikTensor<T>
Link copied to clipboard
open override fun scale(a: StructureND<T>, value: Double): StructureND<T>
Link copied to clipboard
open override fun structureND(shape: ShapeND, initializer: A.(IntArray) -> T): MultikTensor<T>
Link copied to clipboard
open override fun StructureND<T>.sum(): T
open override fun StructureND<T>.sum(dim: Int, keepDim: Boolean): MultikTensor<T>
Link copied to clipboard
open operator override fun T.times(arg: StructureND<T>): MultikTensor<T>
open operator override fun StructureND<T>.times(arg: T): Tensor<T>
open operator override fun StructureND<T>.times(arg: StructureND<T>): MultikTensor<T>
open operator fun Number.times(arg: StructureND<T>): StructureND<T>
open operator fun StructureND<T>.times(k: Number): StructureND<T>
Link copied to clipboard
open operator override fun Tensor<T>.timesAssign(value: T)
open operator override fun Tensor<T>.timesAssign(arg: StructureND<T>)
Link copied to clipboard
open override fun StructureND<T>.transposed(i: Int, j: Int): MultikTensor<T>
Link copied to clipboard
open operator override fun StructureND<T>.unaryMinus(): MultikTensor<T>
Link copied to clipboard
open fun unaryOperation(operation: String, arg: StructureND<T>): StructureND<T>
Link copied to clipboard
open override fun unaryOperationFunction(operation: String): (arg: StructureND<T>) -> StructureND<T>
Link copied to clipboard
open operator fun StructureND<T>.unaryPlus(): StructureND<T>
Link copied to clipboard
open fun StructureND<T>.value(): T
Link copied to clipboard
open override fun StructureND<T>.valueOrNull(): T?
Link copied to clipboard
open override fun Tensor<T>.view(shape: ShapeND): MultikTensor<T>
Link copied to clipboard
open override fun Tensor<T>.viewAs(other: StructureND<T>): MultikTensor<T>
Link copied to clipboard
fun MutableMultiArray<T, *>.wrap(): MultikTensor<T>
Link copied to clipboard
open override fun zip(left: StructureND<T>, right: StructureND<T>, transform: A.(T, T) -> T): MultikTensor<T>

Properties

Link copied to clipboard
Link copied to clipboard
abstract val elementAlgebra: A
Link copied to clipboard
abstract val type: DataType