Nd4jArrayRing

interface Nd4jArrayRing<T, R : Ring<T>> : NDRing<T, R> , Nd4JArrayGroup<T, R>

Represents NDRing 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: NDStructure<T>, b: NDStructure<T>): NDStructure<T>
binaryOperation
Link copied to clipboard
open fun binaryOperation(operation: String, left: NDStructure<T>, right: NDStructure<T>): NDStructure<T>
binaryOperationFunction
Link copied to clipboard
open override fun binaryOperationFunction(operation: String): (left: NDStructure<T>, right: NDStructure<T>) -> NDStructure<T>
bindSymbol
Link copied to clipboard
open fun bindSymbol(value: String): NDStructure<T>
combine
Link copied to clipboard
abstract fun combine(a: NDStructure<T>, b: NDStructure<T>, transform: R.(T, T) -> T): NDStructure<T>
equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
getFeature
Link copied to clipboard
open fun <F : Any> getFeature(structure: NDStructure<T>, type: KClass<F>): F?
hashCode
Link copied to clipboard
open fun hashCode(): Int
invoke
Link copied to clipboard
open operator fun (T) -> T.invoke(structure: NDStructure<T>): NDStructure<T>
map
Link copied to clipboard
abstract fun NDStructure<T>.map(transform: R.(T) -> T): NDStructure<T>
mapIndexed
Link copied to clipboard
abstract fun NDStructure<T>.mapIndexed(transform: R.(index: IntArray, T) -> T): NDStructure<T>
minus
Link copied to clipboard
open operator fun T.minus(arg: NDStructure<T>): NDStructure<T>
open operator fun NDStructure<T>.minus(arg: T): NDStructure<T>
open operator fun NDStructure<T>.minus(b: NDStructure<T>): NDStructure<T>
multiply
Link copied to clipboard
open fun multiply(a: NDStructure<T>, k: Number): Nd4jArrayStructure<T>
open override fun multiply(a: NDStructure<T>, b: NDStructure<T>): Nd4jArrayStructure<T>
plus
Link copied to clipboard
open operator fun T.plus(arg: NDStructure<T>): NDStructure<T>
open operator fun NDStructure<T>.plus(arg: T): NDStructure<T>
open operator fun NDStructure<T>.plus(b: NDStructure<T>): NDStructure<T>
produce
Link copied to clipboard
abstract fun produce(initializer: R.(IntArray) -> T): NDStructure<T>
times
Link copied to clipboard
open operator fun T.times(arg: NDStructure<T>): NDStructure<T>
open operator fun NDStructure<T>.times(arg: T): NDStructure<T>
open operator fun NDStructure<T>.times(b: NDStructure<T>): NDStructure<T>
toString
Link copied to clipboard
open fun toString(): String
unaryMinus
Link copied to clipboard
abstract operator fun NDStructure<T>.unaryMinus(): NDStructure<T>
unaryOperation
Link copied to clipboard
open fun unaryOperation(operation: String, arg: NDStructure<T>): NDStructure<T>
unaryOperationFunction
Link copied to clipboard
open override fun unaryOperationFunction(operation: String): (arg: NDStructure<T>) -> NDStructure<T>
unaryPlus
Link copied to clipboard
open operator fun NDStructure<T>.unaryPlus(): NDStructure<T>
wrap
Link copied to clipboard
abstract fun INDArray.wrap(): Nd4jArrayStructure<T>
Wraps INDArray to N.

Properties

elementContext
Link copied to clipboard
abstract val elementContext: R
ndArray
Link copied to clipboard
open val NDStructure<T>.ndArray: INDArray
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: NDStructure<T>

Inheritors

Nd4jArrayField
Link copied to clipboard
IntNd4jArrayRing
Link copied to clipboard
LongNd4jArrayRing
Link copied to clipboard