MultikIntAlgebra

class MultikIntAlgebra(multikEngine: Engine) : MultikTensorAlgebra<Int, IntRing> (source)

Constructors

Link copied to clipboard
constructor(multikEngine: Engine)

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
open override fun StructureND<Int>.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<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
Link copied to clipboard
open override fun diagonalEmbedding(diagonalEntries: StructureND<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
Link copied to clipboard
open fun <F : StructureFeature> getFeature(structure: StructureND<Int>, type: KClass<out F>): F?
Link copied to clipboard
open override fun Tensor<Int>.getTensor(i: Int): MultikTensor<Int>
open fun Tensor<Int>.getTensor(first: Int, second: Int): Tensor<Int>
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
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<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 scalar(value: Int): MultikTensor<Int>
Link copied to clipboard
open override fun structureND(shape: ShapeND, 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 StructureND<Int>.transposed(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: ShapeND): 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
Link copied to clipboard
open override val elementAlgebra: IntRing
Link copied to clipboard
open override val type: DataType