MultikShortAlgebra

class MultikShortAlgebra(multikEngine: Engine) : MultikTensorAlgebra<Short, ShortRing> (source)

Constructors

Link copied to clipboard
constructor(multikEngine: Engine)

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