MultikIntAlgebra

object MultikIntAlgebra : MultikTensorAlgebra<Int, IntRing>

Functions

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

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<Int>, right: StructureND<Int>): StructureND<Int>
Link copied to clipboard
open override fun binaryOperationFunction(operation: String): (left: StructureND<Int>, right: StructureND<Int>) -> StructureND<Int>
Link copied to clipboard
open fun bindSymbol(value: String): StructureND<Int>
Link copied to clipboard
open fun bindSymbolOrNull(value: String): StructureND<Int>?
Link copied to clipboard
open override fun diagonalEmbedding(diagonalEntries: Tensor<Int>, offset: Int, dim1: Int, dim2: Int): MultikTensor<Int>
Link copied to clipboard
open infix override fun StructureND<Int>.dot(other: StructureND<Int>): MultikTensor<Int>
Link copied to clipboard
open fun export(arg: StructureND<Int>): StructureND<Int>
Link copied to clipboard
open operator override fun Tensor<Int>.get(i: Int): MultikTensor<Int>
Link copied to clipboard
open fun <F : StructureFeature> getFeature(structure: StructureND<Int>, type: KClass<out F>): F?
Link copied to clipboard
open operator fun (Int) -> Int.invoke(structure: StructureND<Int>): StructureND<Int>
Link copied to clipboard
open override fun StructureND<Int>.map(transform: IntRing.(Int) -> Int): MultikTensor<Int>
Link copied to clipboard
open override fun StructureND<Int>.mapIndexed(transform: IntRing.(index: IntArray, Int) -> Int): MultikTensor<Int>
Link copied to clipboard
open override fun StructureND<Int>.max(): Int?
open override fun StructureND<Int>.max(dim: Int, keepDim: Boolean): Tensor<Int>
Link copied to clipboard
open override fun StructureND<Int>.min(): Int?
open override fun StructureND<Int>.min(dim: Int, keepDim: Boolean): Tensor<Int>
Link copied to clipboard
open operator override fun Int.minus(arg: StructureND<Int>): MultikTensor<Int>
open operator override fun StructureND<Int>.minus(arg: Int): MultikTensor<Int>
open operator override fun StructureND<Int>.minus(arg: StructureND<Int>): MultikTensor<Int>
Link copied to clipboard
open operator override fun Tensor<Int>.minusAssign(value: Int)
open operator override fun Tensor<Int>.minusAssign(arg: StructureND<Int>)
Link copied to clipboard
open override fun multiply(left: StructureND<Int>, right: StructureND<Int>): Tensor<Int>
Link copied to clipboard
open operator override fun Int.plus(arg: StructureND<Int>): MultikTensor<Int>
open operator override fun StructureND<Int>.plus(arg: Int): MultikTensor<Int>
open operator override fun StructureND<Int>.plus(arg: StructureND<Int>): MultikTensor<Int>
Link copied to clipboard
open operator override fun Tensor<Int>.plusAssign(value: Int)
open operator override fun Tensor<Int>.plusAssign(arg: StructureND<Int>)
Link copied to clipboard
open override fun structureND(shape: Shape, initializer: IntRing.(IntArray) -> Int): MultikTensor<Int>
Link copied to clipboard
open override fun StructureND<Int>.sum(): Int
open override fun StructureND<Int>.sum(dim: Int, keepDim: Boolean): MultikTensor<Int>
Link copied to clipboard
open operator override fun Int.times(arg: StructureND<Int>): MultikTensor<Int>
open operator override fun StructureND<Int>.times(arg: Int): Tensor<Int>
open operator override fun StructureND<Int>.times(arg: StructureND<Int>): MultikTensor<Int>
Link copied to clipboard
open operator override fun Tensor<Int>.timesAssign(value: Int)
open operator override fun Tensor<Int>.timesAssign(arg: StructureND<Int>)
Link copied to clipboard
open override fun Tensor<Int>.transpose(i: Int, j: Int): MultikTensor<Int>
Link copied to clipboard
open operator override fun StructureND<Int>.unaryMinus(): MultikTensor<Int>
Link copied to clipboard
open fun unaryOperation(operation: String, arg: StructureND<Int>): StructureND<Int>
Link copied to clipboard
open override fun unaryOperationFunction(operation: String): (arg: StructureND<Int>) -> StructureND<Int>
Link copied to clipboard
open operator fun StructureND<Int>.unaryPlus(): StructureND<Int>
Link copied to clipboard
open fun StructureND<Int>.value(): Int
Link copied to clipboard
open override fun StructureND<Int>.valueOrNull(): Int?
Link copied to clipboard
open override fun Tensor<Int>.view(shape: IntArray): MultikTensor<Int>
Link copied to clipboard
open override fun Tensor<Int>.viewAs(other: StructureND<Int>): MultikTensor<Int>
Link copied to clipboard
fun MutableMultiArray<Int, *>.wrap(): MultikTensor<Int>
Link copied to clipboard
open override fun zip(left: StructureND<Int>, right: StructureND<Int>, transform: IntRing.(Int, Int) -> Int): MultikTensor<Int>

Properties

Link copied to clipboard
open override val elementAlgebra: IntRing
Link copied to clipboard
open override val type: DataType

Sources

Link copied to clipboard