MultikFloatAlgebra

Constructors

Link copied to clipboard
constructor(multikEngine: Engine)

Functions

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

Properties

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