MultikLongAlgebra

object MultikLongAlgebra : MultikTensorAlgebra<Long, LongRing>

Functions

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

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

Properties

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

Sources

Link copied to clipboard