LongNd4jArrayRing

class LongNd4jArrayRing(shape: IntArray) : Nd4jArrayRing<Long, LongRing>

Represents RingND over Nd4jArrayStructure of Long.

Constructors

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

Functions

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

Properties

elementContext
Link copied to clipboard
open override val elementContext: LongRing
ndArray
Link copied to clipboard
open val StructureND<Long>.ndArray: INDArray
one
Link copied to clipboard
open override val one: Nd4jArrayStructure<Long>
shape
Link copied to clipboard
open override val shape: IntArray
zero
Link copied to clipboard
abstract val zero: StructureND<Long>