Nd4jArrayRing

interface Nd4jArrayRing<T, out R : Ring<T>> : RingND<T, R> , Nd4jArrayGroup<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(a: StructureND<T>, b: 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>?
combine
Link copied to clipboard
abstract fun combine(a: StructureND<T>, b: StructureND<T>, transform: R.(T, T) -> T): 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(b: StructureND<T>): StructureND<T>
multiply
Link copied to clipboard
open fun multiply(a: StructureND<T>, k: Number): Nd4jArrayStructure<T>
open override fun multiply(a: StructureND<T>, b: 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(b: StructureND<T>): StructureND<T>
produce
Link copied to clipboard
abstract fun produce(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(b: 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>

Properties

elementContext
Link copied to clipboard
abstract val elementContext: R
ndArray
Link copied to clipboard
abstract val StructureND<T>.ndArray: INDArray
Unwraps to or get INDArray from StructureND.
one
Link copied to clipboard
open override val one: Nd4jArrayStructure<T>
shape
Link copied to clipboard
abstract val shape: IntArray
zero
Link copied to clipboard
abstract val zero: StructureND<T>

Inheritors

Nd4jArrayField
Link copied to clipboard
IntNd4jArrayRing
Link copied to clipboard

Sources

jvm source
Link copied to clipboard