Nd4jArrayGroup

interface Nd4jArrayGroup<T, out S : Ring<T>> : GroupND<T, S> , Nd4jArrayAlgebra<T, S>

Represents GroupND over Nd4jArrayStructure.

Parameters

T

the type of the element contained in ND structure.

S

the type of space of structure elements.

Functions

add
Link copied to clipboard
open override fun add(a: StructureND<T>, b: StructureND<T>): Nd4jArrayStructure<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: S.(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: S.(T) -> T): StructureND<T>
mapIndexed
Link copied to clipboard
abstract fun StructureND<T>.mapIndexed(transform: S.(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 override fun StructureND<T>.minus(b: StructureND<T>): Nd4jArrayStructure<T>
multiply
Link copied to clipboard
open fun multiply(a: StructureND<T>, k: Number): 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: S.(IntArray) -> T): StructureND<T>
unaryMinus
Link copied to clipboard
open operator override fun StructureND<T>.unaryMinus(): Nd4jArrayStructure<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: S
ndArray
Link copied to clipboard
abstract val StructureND<T>.ndArray: INDArray
Unwraps to or get INDArray from StructureND.
shape
Link copied to clipboard
abstract val shape: IntArray
zero
Link copied to clipboard
open override val zero: Nd4jArrayStructure<T>

Inheritors

Nd4jArrayRing
Link copied to clipboard

Sources

jvm source
Link copied to clipboard