MultikTensorAlgebra
abstract class MultikTensorAlgebra<T : Number, Comparable<T>, A : Ring<T>> : TensorAlgebra<T, A>
Content copied to clipboard
Functions
Link copied to clipboard
open override fun add(left: StructureND<T>, right: StructureND<T>): Tensor<T>
Content 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
open fun binaryOperation(operation: String, left: StructureND<T>, right: StructureND<T>): StructureND<T>
Content copied to clipboard
Link copied to clipboard
open override fun binaryOperationFunction(operation: String): (left: StructureND<T>, right: StructureND<T>) -> StructureND<T>
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun diagonalEmbedding(diagonalEntries: Tensor<T>, offset: Int, dim1: Int, dim2: Int): MultikTensor<T>
Content copied to clipboard
Link copied to clipboard
open infix override fun StructureND<T>.dot(other: StructureND<T>): MultikTensor<T>
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun <F : StructureFeature> getFeature(structure: StructureND<T>, type: KClass<out F>): F?
Content copied to clipboard
Link copied to clipboard
open operator fun (T) -> T.invoke(structure: StructureND<T>): StructureND<T>
Content copied to clipboard
Link copied to clipboard
open override fun StructureND<T>.map(transform: A.(T) -> T): MultikTensor<T>
Content copied to clipboard
Link copied to clipboard
open override fun StructureND<T>.mapIndexed(transform: A.(index: IntArray, T) -> T): MultikTensor<T>
Content copied to clipboard
Link copied to clipboard
open operator override fun StructureND<T>.minus(arg: StructureND<T>): MultikTensor<T>
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun multiply(left: StructureND<T>, right: StructureND<T>): Tensor<T>
Content copied to clipboard
Link copied to clipboard
open operator override fun StructureND<T>.plus(arg: StructureND<T>): MultikTensor<T>
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun structureND(shape: Shape, initializer: A.(IntArray) -> T): MultikTensor<T>
Content copied to clipboard
Link copied to clipboard
open override fun StructureND<T>.sum(dim: Int, keepDim: Boolean): MultikTensor<T>
Content copied to clipboard
Link copied to clipboard
open operator override fun StructureND<T>.times(arg: StructureND<T>): MultikTensor<T>
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun unaryOperation(operation: String, arg: StructureND<T>): StructureND<T>
Content copied to clipboard
Link copied to clipboard
open override fun unaryOperationFunction(operation: String): (arg: StructureND<T>) -> StructureND<T>
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun Tensor<T>.viewAs(other: StructureND<T>): MultikTensor<T>
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun zip(left: StructureND<T>, right: StructureND<T>, transform: A.(T, T) -> T): MultikTensor<T>
Content copied to clipboard