MultikFloatAlgebra

object MultikFloatAlgebra : MultikDivisionTensorAlgebra<Float, FloatField>

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
fun StructureND<Float>.asMultik(): MultikTensor<Float>

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
open fun bindSymbolOrNull(value: String): StructureND<Float>?
Link copied to clipboard
open override fun diagonalEmbedding(diagonalEntries: Tensor<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
open fun export(arg: StructureND<Float>): StructureND<Float>
Link copied to clipboard
open operator override fun Tensor<Float>.get(i: Int): MultikTensor<Float>
Link copied to clipboard
open fun <F : StructureFeature> getFeature(structure: StructureND<Float>, type: KClass<out F>): F?
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
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 scale(a: StructureND<Float>, value: Double): StructureND<Float>
Link copied to clipboard
open override fun structureND(shape: Shape, 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 Tensor<Float>.transpose(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
open operator fun StructureND<Float>.unaryPlus(): StructureND<Float>
Link copied to clipboard
open fun StructureND<Float>.value(): Float
Link copied to clipboard
open override fun StructureND<Float>.valueOrNull(): Float?
Link copied to clipboard
open override fun Tensor<Float>.view(shape: IntArray): 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
open override val elementAlgebra: FloatField
Link copied to clipboard
open override val type: DataType

Sources

Link copied to clipboard