Nd4jArrayField

interface Nd4jArrayField<T, out F : Field<T>> : FieldND<T, F> , Nd4jArrayRing<T, F>

Represents FieldND over Nd4jArrayStructure.

Parameters

T

the type of the element contained in 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: 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: F.(T, T) -> T): StructureND<T>
div
Link copied to clipboard
open operator fun T.div(arg: StructureND<T>): StructureND<T>
open operator fun StructureND<T>.div(arg: T): StructureND<T>
open operator fun Number.div(b: StructureND<T>): Nd4jArrayStructure<T>
open operator fun StructureND<T>.div(b: StructureND<T>): StructureND<T>
open operator fun StructureND<T>.div(k: Number): StructureND<T>
divide
Link copied to clipboard
open override fun divide(a: StructureND<T>, b: StructureND<T>): Nd4jArrayStructure<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>
leftSideNumberOperation
Link copied to clipboard
open fun leftSideNumberOperation(operation: String, left: Number, right: StructureND<T>): StructureND<T>
leftSideNumberOperationFunction
Link copied to clipboard
open fun leftSideNumberOperationFunction(operation: String): (left: Number, right: StructureND<T>) -> StructureND<T>
map
Link copied to clipboard
abstract fun StructureND<T>.map(transform: F.(T) -> T): StructureND<T>
mapIndexed
Link copied to clipboard
abstract fun StructureND<T>.mapIndexed(transform: F.(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>
abstract fun multiply(a: StructureND<T>, b: StructureND<T>): StructureND<T>
number
Link copied to clipboard
open override fun number(value: Number): StructureND<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: F.(IntArray) -> T): StructureND<T>
rightSideNumberOperation
Link copied to clipboard
open fun rightSideNumberOperation(operation: String, left: StructureND<T>, right: Number): StructureND<T>
rightSideNumberOperationFunction
Link copied to clipboard
open fun rightSideNumberOperationFunction(operation: String): (left: StructureND<T>, right: Number) -> StructureND<T>
scale
Link copied to clipboard
open override fun scale(a: StructureND<T>, value: Double): 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>
open operator fun Number.times(b: StructureND<T>): StructureND<T>
open operator fun StructureND<T>.times(k: Number): 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: F
ndArray
Link copied to clipboard
abstract val StructureND<T>.ndArray: INDArray
Unwraps to or get INDArray from StructureND.
one
Link copied to clipboard
abstract val one: StructureND<T>
shape
Link copied to clipboard
abstract val shape: IntArray
zero
Link copied to clipboard
abstract val zero: StructureND<T>

Inheritors

Nd4jArrayExtendedField
Link copied to clipboard

Sources

jvm source
Link copied to clipboard