MultikShortAlgebra

object MultikShortAlgebra : MultikTensorAlgebra<Short, ShortRing>

Functions

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

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

Properties

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

Sources

Link copied to clipboard