Nd4jArrayRingOps

interface Nd4jArrayRingOps<T, out R : Ring<T>> : RingOpsND<T, R> , Nd4jArrayGroupOps<T, R>

Represents RingND over Nd4jArrayStructure.

Parameters

T

the type of the element contained in ND structure.

R

the type of ring of structure elements.

Types

Companion
Link copied to clipboard
object Companion

Functions

add
Link copied to clipboard
abstract fun add(left: StructureND<T>, right: StructureND<T>): StructureND<T>
binaryOperation
Link copied to clipboard
open fun binaryOperation(operation: String, left: StructureND<T>, right: StructureND<T>): StructureND<T>
binaryOperationFunction
Link copied to clipboard
open override fun binaryOperationFunction(operation: String): (left: StructureND<T>, right: StructureND<T>) -> StructureND<T>
bindSymbol
Link copied to clipboard
open fun bindSymbol(value: String): StructureND<T>
bindSymbolOrNull
Link copied to clipboard
open fun bindSymbolOrNull(value: String): StructureND<T>?
getFeature
Link copied to clipboard
open fun <F : StructureFeature> getFeature(structure: StructureND<T>, type: KClass<out F>): F?
invoke
Link copied to clipboard
open operator fun (T) -> T.invoke(structure: StructureND<T>): StructureND<T>
map
Link copied to clipboard
abstract fun StructureND<T>.map(transform: R.(T) -> T): StructureND<T>
mapIndexed
Link copied to clipboard
abstract fun StructureND<T>.mapIndexed(transform: R.(index: IntArray, T) -> T): StructureND<T>
minus
Link copied to clipboard
open operator fun T.minus(arg: StructureND<T>): StructureND<T>
open operator fun StructureND<T>.minus(arg: T): StructureND<T>
open operator fun StructureND<T>.minus(other: StructureND<T>): StructureND<T>
multiply
Link copied to clipboard
open fun multiply(a: StructureND<T>, k: Number): Nd4jArrayStructure<T>
open override fun multiply(left: StructureND<T>, right: StructureND<T>): Nd4jArrayStructure<T>
plus
Link copied to clipboard
open operator fun T.plus(arg: StructureND<T>): StructureND<T>
open operator fun StructureND<T>.plus(arg: T): StructureND<T>
open operator fun StructureND<T>.plus(other: StructureND<T>): StructureND<T>
structureND
Link copied to clipboard
abstract fun structureND(shape: Shape, initializer: R.(IntArray) -> T): StructureND<T>
times
Link copied to clipboard
open operator fun T.times(arg: StructureND<T>): StructureND<T>
open operator fun StructureND<T>.times(arg: T): StructureND<T>
open operator fun StructureND<T>.times(other: StructureND<T>): StructureND<T>
unaryMinus
Link copied to clipboard
abstract operator fun StructureND<T>.unaryMinus(): StructureND<T>
unaryOperation
Link copied to clipboard
open fun unaryOperation(operation: String, arg: StructureND<T>): StructureND<T>
unaryOperationFunction
Link copied to clipboard
open override fun unaryOperationFunction(operation: String): (arg: StructureND<T>) -> StructureND<T>
unaryPlus
Link copied to clipboard
open operator fun StructureND<T>.unaryPlus(): StructureND<T>
wrap
Link copied to clipboard
abstract fun INDArray.wrap(): Nd4jArrayStructure<T>
zip
Link copied to clipboard
abstract fun zip(left: StructureND<T>, right: StructureND<T>, transform: R.(T, T) -> T): StructureND<T>

Properties

elementAlgebra
Link copied to clipboard
abstract val elementAlgebra: R
ndArray
Link copied to clipboard
abstract val StructureND<T>.ndArray: INDArray
Unwraps to or get INDArray from StructureND.

Inheritors

Nd4jArrayField
Link copied to clipboard
IntNd4jArrayRingOps
Link copied to clipboard

Sources

jvm source
Link copied to clipboard