Constructors

Link copied to clipboard
constructor(multikEngine: Engine)

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun add(left: StructureND<Double>, right: StructureND<Double>): Tensor<Double>
Link copied to clipboard
open override fun StructureND<Double>.argMax(dim: Int, keepDim: Boolean): Tensor<Int>
Link copied to clipboard
open override fun StructureND<Double>.argMin(dim: Int, keepDim: Boolean): Tensor<Int>
Link copied to clipboard
Link copied to clipboard
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
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun binaryOperationFunction(operation: String): (left: StructureND<Double>, right: StructureND<Double>) -> StructureND<Double>
Link copied to clipboard
open fun bindSymbol(value: String): StructureND<Double>
Link copied to clipboard
Link copied to clipboard
open override fun cos(arg: StructureND<Double>): MultikTensor<Double>
Link copied to clipboard
open override fun cosh(arg: StructureND<Double>): MultikTensor<Double>
Link copied to clipboard
open override fun diagonalEmbedding(diagonalEntries: StructureND<Double>, offset: Int, dim1: Int, dim2: Int): MultikTensor<Double>
Link copied to clipboard
open operator override fun Double.div(arg: StructureND<Double>): MultikTensor<Double>
open operator override fun StructureND<Double>.div(arg: Double): MultikTensor<Double>
open operator override fun StructureND<Double>.div(arg: StructureND<Double>): MultikTensor<Double>
open operator fun StructureND<Double>.div(k: Number): StructureND<Double>
Link copied to clipboard
open operator override fun Tensor<Double>.divAssign(value: Double)
open operator override fun Tensor<Double>.divAssign(arg: StructureND<Double>)
Link copied to clipboard
open override fun divide(left: StructureND<Double>, right: StructureND<Double>): StructureND<Double>
Link copied to clipboard
open infix override fun StructureND<Double>.dot(other: StructureND<Double>): MultikTensor<Double>
Link copied to clipboard
open override fun exp(arg: StructureND<Double>): MultikTensor<Double>
Link copied to clipboard
Link copied to clipboard
open fun <F : StructureFeature> getFeature(structure: StructureND<Double>, type: KClass<out F>): F?
Link copied to clipboard
open override fun Tensor<Double>.getTensor(i: Int): MultikTensor<Double>
open fun Tensor<Double>.getTensor(first: Int, second: Int): Tensor<Double>
Link copied to clipboard
open operator fun (Double) -> Double.invoke(structure: StructureND<Double>): StructureND<Double>
Link copied to clipboard
open override fun ln(arg: StructureND<Double>): MultikTensor<Double>
Link copied to clipboard
open override fun StructureND<Double>.map(transform: DoubleField.(Double) -> Double): MultikTensor<Double>
Link copied to clipboard
open override fun StructureND<Double>.mapIndexed(transform: DoubleField.(index: IntArray, Double) -> Double): MultikTensor<Double>
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<Double>.max(): Double?
open override fun StructureND<Double>.max(dim: Int, keepDim: Boolean): Tensor<Double>
Link copied to clipboard
open override fun StructureND<Double>.min(): Double?
open override fun StructureND<Double>.min(dim: Int, keepDim: Boolean): Tensor<Double>
Link copied to clipboard
open operator override fun Double.minus(arg: StructureND<Double>): MultikTensor<Double>
open operator override fun StructureND<Double>.minus(arg: Double): MultikTensor<Double>
open operator override fun StructureND<Double>.minus(arg: StructureND<Double>): MultikTensor<Double>
Link copied to clipboard
open operator override fun Tensor<Double>.minusAssign(value: Double)
open operator override fun Tensor<Double>.minusAssign(arg: StructureND<Double>)
Link copied to clipboard
open override fun multiply(left: StructureND<Double>, right: StructureND<Double>): Tensor<Double>
Link copied to clipboard
open operator override fun Double.plus(arg: StructureND<Double>): MultikTensor<Double>
open operator override fun StructureND<Double>.plus(arg: Double): MultikTensor<Double>
open operator override fun StructureND<Double>.plus(arg: StructureND<Double>): MultikTensor<Double>
Link copied to clipboard
open operator override fun Tensor<Double>.plusAssign(value: Double)
open operator override fun Tensor<Double>.plusAssign(arg: StructureND<Double>)
Link copied to clipboard
open override fun scalar(value: Double): MultikTensor<Double>
Link copied to clipboard
open override fun scale(a: StructureND<Double>, value: Double): StructureND<Double>
Link copied to clipboard
open override fun sin(arg: StructureND<Double>): MultikTensor<Double>
Link copied to clipboard
open override fun sinh(arg: StructureND<Double>): MultikTensor<Double>
Link copied to clipboard
open override fun structureND(shape: ShapeND, initializer: DoubleField.(IntArray) -> Double): MultikTensor<Double>
Link copied to clipboard
open override fun StructureND<Double>.sum(): Double
open override fun StructureND<Double>.sum(dim: Int, keepDim: Boolean): MultikTensor<Double>
Link copied to clipboard
open override fun tan(arg: StructureND<Double>): MultikTensor<Double>
Link copied to clipboard
open override fun tanh(arg: StructureND<Double>): MultikTensor<Double>
Link copied to clipboard
open operator override fun Double.times(arg: StructureND<Double>): MultikTensor<Double>
open operator override fun StructureND<Double>.times(arg: Double): Tensor<Double>
open operator override fun StructureND<Double>.times(arg: StructureND<Double>): MultikTensor<Double>
open operator fun Number.times(arg: StructureND<Double>): StructureND<Double>
open operator fun StructureND<Double>.times(k: Number): StructureND<Double>
Link copied to clipboard
open operator override fun Tensor<Double>.timesAssign(value: Double)
open operator override fun Tensor<Double>.timesAssign(arg: StructureND<Double>)
Link copied to clipboard
open override fun StructureND<Double>.transposed(i: Int, j: Int): MultikTensor<Double>
Link copied to clipboard
open operator override fun StructureND<Double>.unaryMinus(): MultikTensor<Double>
Link copied to clipboard
Link copied to clipboard
open override fun unaryOperationFunction(operation: String): (arg: StructureND<Double>) -> StructureND<Double>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun StructureND<Double>.valueOrNull(): Double?
Link copied to clipboard
open override fun Tensor<Double>.view(shape: ShapeND): MultikTensor<Double>
Link copied to clipboard
open override fun Tensor<Double>.viewAs(other: StructureND<Double>): MultikTensor<Double>
Link copied to clipboard
fun MutableMultiArray<Double, *>.wrap(): MultikTensor<Double>
Link copied to clipboard
open override fun zip(left: StructureND<Double>, right: StructureND<Double>, transform: DoubleField.(Double, Double) -> Double): MultikTensor<Double>

Properties

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