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 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
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>
leftSideNumberOperation
Link copied to clipboard
open fun leftSideNumberOperation(operation: String, left: Number, right: NDStructure<T>): NDStructure<T>
leftSideNumberOperationFunction
Link copied to clipboard
open fun leftSideNumberOperationFunction(operation: String): (left: Number, right: 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
open fun multiply(a: NDStructure<T>, k: Number): Nd4jArrayStructure<T>
abstract fun multiply(a: NDStructure<T>, b: NDStructure<T>): NDStructure<T>
number
Link copied to clipboard
open override fun number(value: 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>
rightSideNumberOperation
Link copied to clipboard
open fun rightSideNumberOperation(operation: String, left: NDStructure<T>, right: Number): NDStructure<T>
rightSideNumberOperationFunction
Link copied to clipboard
open fun rightSideNumberOperationFunction(operation: String): (left: NDStructure<T>, right: Number) -> NDStructure<T>
scale
Link copied to clipboard
abstract fun scale(a: NDStructure<T>, value: Double): 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
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: 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