MultikLongAlgebra

class MultikLongAlgebra(multikEngine: Engine) : MultikTensorAlgebra<Long, LongRing> (source)

Constructors

Link copied to clipboard
constructor(multikEngine: Engine)

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