IntNd4jArrayRing

class IntNd4jArrayRing(shape: IntArray) : Nd4jArrayRing<Int, IntRing>

Represents RingND over Nd4jArrayIntStructure.

Constructors

IntNd4jArrayRing
Link copied to clipboard
fun IntNd4jArrayRing(shape: IntArray)

Functions

add
Link copied to clipboard
abstract fun add(a: StructureND<Int>, b: StructureND<Int>): StructureND<Int>
binaryOperation
Link copied to clipboard
open fun binaryOperation(operation: String, left: StructureND<Int>, right: StructureND<Int>): StructureND<Int>
binaryOperationFunction
Link copied to clipboard
open override fun binaryOperationFunction(operation: String): (left: StructureND<Int>, right: StructureND<Int>) -> StructureND<Int>
bindSymbol
Link copied to clipboard
open fun bindSymbol(value: String): StructureND<Int>
bindSymbolOrNull
Link copied to clipboard
open fun bindSymbolOrNull(value: String): StructureND<Int>?
combine
Link copied to clipboard
abstract fun combine(a: StructureND<Int>, b: StructureND<Int>, transform: IntRing.(Int, Int) -> Int): StructureND<Int>
getFeature
Link copied to clipboard
open fun <F : StructureFeature> getFeature(structure: StructureND<Int>, type: KClass<out F>): F?
invoke
Link copied to clipboard
open operator fun (Int) -> Int.invoke(structure: StructureND<Int>): StructureND<Int>
map
Link copied to clipboard
abstract fun StructureND<Int>.map(transform: IntRing.(Int) -> Int): StructureND<Int>
mapIndexed
Link copied to clipboard
abstract fun StructureND<Int>.mapIndexed(transform: IntRing.(index: IntArray, Int) -> Int): StructureND<Int>
minus
Link copied to clipboard
open operator override fun Int.minus(arg: StructureND<Int>): Nd4jArrayStructure<Int>
open operator override fun StructureND<Int>.minus(arg: Int): Nd4jArrayStructure<Int>
open operator fun StructureND<Int>.minus(b: StructureND<Int>): StructureND<Int>
multiply
Link copied to clipboard
open fun multiply(a: StructureND<Int>, k: Number): Nd4jArrayStructure<Int>
open override fun multiply(a: StructureND<Int>, b: StructureND<Int>): Nd4jArrayStructure<Int>
plus
Link copied to clipboard
open operator fun Int.plus(arg: StructureND<Int>): StructureND<Int>
open operator override fun StructureND<Int>.plus(arg: Int): Nd4jArrayStructure<Int>
open operator fun StructureND<Int>.plus(b: StructureND<Int>): StructureND<Int>
produce
Link copied to clipboard
abstract fun produce(initializer: IntRing.(IntArray) -> Int): StructureND<Int>
times
Link copied to clipboard
open operator fun Int.times(arg: StructureND<Int>): StructureND<Int>
open operator override fun StructureND<Int>.times(arg: Int): Nd4jArrayStructure<Int>
open operator fun StructureND<Int>.times(b: StructureND<Int>): StructureND<Int>
unaryMinus
Link copied to clipboard
abstract operator fun StructureND<Int>.unaryMinus(): StructureND<Int>
unaryOperation
Link copied to clipboard
open fun unaryOperation(operation: String, arg: StructureND<Int>): StructureND<Int>
unaryOperationFunction
Link copied to clipboard
open override fun unaryOperationFunction(operation: String): (arg: StructureND<Int>) -> StructureND<Int>
unaryPlus
Link copied to clipboard
open operator fun StructureND<Int>.unaryPlus(): StructureND<Int>
wrap
Link copied to clipboard
open override fun INDArray.wrap(): Nd4jArrayStructure<Int>

Properties

elementContext
Link copied to clipboard
open override val elementContext: IntRing
ndArray
Link copied to clipboard
open override val StructureND<Int>.ndArray: INDArray
Unwraps to or get INDArray from StructureND.
one
Link copied to clipboard
open override val one: Nd4jArrayStructure<Int>
shape
Link copied to clipboard
open override val shape: IntArray
zero
Link copied to clipboard
abstract val zero: StructureND<Int>

Sources

jvm source
Link copied to clipboard