MultikTensorAlgebra

class MultikTensorAlgebra<T> : TensorAlgebra<T>

Functions

add
Link copied to clipboard
open override fun add(left: Tensor<T>, right: Tensor<T>): Tensor<T>
argMax
Link copied to clipboard
open override fun Tensor<T>.argMax(dim: Int, keepDim: Boolean): MultikTensor<T>
asMultik
Link copied to clipboard
fun Tensor<T>.asMultik(): MultikTensor<T>
Convert a tensor to MultikTensor if necessary.
binaryOperation
Link copied to clipboard
open fun binaryOperation(operation: String, left: Tensor<T>, right: Tensor<T>): Tensor<T>
binaryOperationFunction
Link copied to clipboard
open override fun binaryOperationFunction(operation: String): (Tensor<T>, Tensor<T>) -> Tensor<T>
bindSymbol
Link copied to clipboard
open fun bindSymbol(value: String): Tensor<T>
bindSymbolOrNull
Link copied to clipboard
open fun bindSymbolOrNull(value: String): Tensor<T>?
diagonalEmbedding
Link copied to clipboard
open override fun diagonalEmbedding(diagonalEntries: Tensor<T>, offset: Int, dim1: Int, dim2: Int): MultikTensor<T>
dot
Link copied to clipboard
open infix override fun Tensor<T>.dot(other: Tensor<T>): MultikTensor<T>
get
Link copied to clipboard
open operator override fun Tensor<T>.get(i: Int): MultikTensor<T>
max
Link copied to clipboard
open override fun Tensor<T>.max(): T
open override fun Tensor<T>.max(dim: Int, keepDim: Boolean): MultikTensor<T>
min
Link copied to clipboard
open override fun Tensor<T>.min(): T
open override fun Tensor<T>.min(dim: Int, keepDim: Boolean): MultikTensor<T>
minus
Link copied to clipboard
open operator override fun T.minus(other: Tensor<T>): MultikTensor<T>
open operator override fun Tensor<T>.minus(value: T): MultikTensor<T>
open operator override fun Tensor<T>.minus(other: Tensor<T>): MultikTensor<T>
minusAssign
Link copied to clipboard
open operator override fun Tensor<T>.minusAssign(value: T)
open operator override fun Tensor<T>.minusAssign(other: Tensor<T>)
multiply
Link copied to clipboard
open override fun multiply(left: Tensor<T>, right: Tensor<T>): Tensor<T>
plus
Link copied to clipboard
open operator override fun T.plus(other: Tensor<T>): MultikTensor<T>
open operator override fun Tensor<T>.plus(value: T): MultikTensor<T>
open operator override fun Tensor<T>.plus(other: Tensor<T>): MultikTensor<T>
plusAssign
Link copied to clipboard
open operator override fun Tensor<T>.plusAssign(value: T)
open operator override fun Tensor<T>.plusAssign(other: Tensor<T>)
sum
Link copied to clipboard
open override fun Tensor<T>.sum(): T
open override fun Tensor<T>.sum(dim: Int, keepDim: Boolean): MultikTensor<T>
times
Link copied to clipboard
open operator override fun T.times(other: Tensor<T>): MultikTensor<T>
open operator override fun Tensor<T>.times(value: T): Tensor<T>
open operator override fun Tensor<T>.times(other: Tensor<T>): MultikTensor<T>
timesAssign
Link copied to clipboard
open operator override fun Tensor<T>.timesAssign(value: T)
open operator override fun Tensor<T>.timesAssign(other: Tensor<T>)
transpose
Link copied to clipboard
open override fun Tensor<T>.transpose(i: Int, j: Int): MultikTensor<T>
unaryMinus
Link copied to clipboard
open operator override fun Tensor<T>.unaryMinus(): MultikTensor<T>
unaryOperation
Link copied to clipboard
open fun unaryOperation(operation: String, arg: Tensor<T>): Tensor<T>
unaryOperationFunction
Link copied to clipboard
open override fun unaryOperationFunction(operation: String): (Tensor<T>) -> Tensor<T>
unaryPlus
Link copied to clipboard
open operator fun Tensor<T>.unaryPlus(): Tensor<T>
value
Link copied to clipboard
open fun Tensor<T>.value(): T
valueOrNull
Link copied to clipboard
open override fun Tensor<T>.valueOrNull(): T?
view
Link copied to clipboard
open override fun Tensor<T>.view(shape: IntArray): MultikTensor<T>
viewAs
Link copied to clipboard
open override fun Tensor<T>.viewAs(other: Tensor<T>): MultikTensor<T>
wrap
Link copied to clipboard
fun MutableMultiArray<T, DN>.wrap(): MultikTensor<T>

Properties

comparator
Link copied to clipboard
val comparator: Comparator<T>
elementAlgebra
Link copied to clipboard
val elementAlgebra: Ring<T>
type
Link copied to clipboard
val type: DataType

Sources

jvm source
Link copied to clipboard