Nd4jArrayField

interface Nd4jArrayField<T, F : Field<T>> : NDField<T, F> , Nd4jArrayRing<T, F>

Represents NDField over Nd4jArrayStructure.

Parameters

T

the type of the element contained in ND structure.

N

the type of ND structure.

F

the type field 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: F.(T, T) -> T): NDStructure<T>
div
Link copied to clipboard
open operator fun T.div(arg: NDStructure<T>): NDStructure<T>
open operator fun NDStructure<T>.div(arg: T): NDStructure<T>
open operator override fun Number.div(b: NDStructure<T>): Nd4jArrayStructure<T>
open operator fun NDStructure<T>.div(b: NDStructure<T>): NDStructure<T>
open operator fun NDStructure<T>.div(k: Number): NDStructure<T>
divide
Link copied to clipboard
open override fun divide(a: NDStructure<T>, b: NDStructure<T>): Nd4jArrayStructure<T>
equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
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: F.(T) -> T): NDStructure<T>
mapIndexed
Link copied to clipboard
abstract fun NDStructure<T>.mapIndexed(transform: F.(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
abstract fun multiply(a: NDStructure<T>, b: NDStructure<T>): NDStructure<T>
abstract fun multiply(a: NDStructure<T>, k: Number): NDStructure<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: F.(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>
open operator fun Number.times(b: NDStructure<T>): NDStructure<T>
open operator fun NDStructure<T>.times(k: Number): NDStructure<T>
toString
Link copied to clipboard
open fun toString(): String
unaryMinus
Link copied to clipboard
open 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: F
ndArray
Link copied to clipboard
open val NDStructure<T>.ndArray: INDArray
one
Link copied to clipboard
abstract val one: NDStructure<T>
shape
Link copied to clipboard
abstract val shape: IntArray
zero
Link copied to clipboard
abstract val zero: NDStructure<T>

Inheritors

RealNd4jArrayField
Link copied to clipboard
FloatNd4jArrayField
Link copied to clipboard