LongNd4jArrayRing

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

Represents NDRing over Nd4jArrayStructure of Long.

Constructors

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

Functions

add
Link copied to clipboard
abstract fun add(a: NDStructure<Long>, b: NDStructure<Long>): NDStructure<Long>
binaryOperation
Link copied to clipboard
open fun binaryOperation(operation: String, left: NDStructure<Long>, right: NDStructure<Long>): NDStructure<Long>
binaryOperationFunction
Link copied to clipboard
open override fun binaryOperationFunction(operation: String): (left: NDStructure<Long>, right: NDStructure<Long>) -> NDStructure<Long>
bindSymbol
Link copied to clipboard
open fun bindSymbol(value: String): NDStructure<Long>
combine
Link copied to clipboard
abstract fun combine(a: NDStructure<Long>, b: NDStructure<Long>, transform: LongRing.(Long, Long) -> Long): NDStructure<Long>
equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
getFeature
Link copied to clipboard
open fun <F : Any> getFeature(structure: NDStructure<Long>, type: KClass<F>): F?
hashCode
Link copied to clipboard
open fun hashCode(): Int
invoke
Link copied to clipboard
open operator fun (Long) -> Long.invoke(structure: NDStructure<Long>): NDStructure<Long>
map
Link copied to clipboard
abstract fun NDStructure<Long>.map(transform: LongRing.(Long) -> Long): NDStructure<Long>
mapIndexed
Link copied to clipboard
abstract fun NDStructure<Long>.mapIndexed(transform: LongRing.(index: IntArray, Long) -> Long): NDStructure<Long>
minus
Link copied to clipboard
open operator override fun Long.minus(arg: NDStructure<Long>): Nd4jArrayStructure<Long>
open operator override fun NDStructure<Long>.minus(arg: Long): Nd4jArrayStructure<Long>
open operator fun NDStructure<Long>.minus(b: NDStructure<Long>): NDStructure<Long>
multiply
Link copied to clipboard
open fun multiply(a: NDStructure<Long>, k: Number): Nd4jArrayStructure<Long>
open override fun multiply(a: NDStructure<Long>, b: NDStructure<Long>): Nd4jArrayStructure<Long>
plus
Link copied to clipboard
open operator fun Long.plus(arg: NDStructure<Long>): NDStructure<Long>
open operator override fun NDStructure<Long>.plus(arg: Long): Nd4jArrayStructure<Long>
open operator fun NDStructure<Long>.plus(b: NDStructure<Long>): NDStructure<Long>
produce
Link copied to clipboard
abstract fun produce(initializer: LongRing.(IntArray) -> Long): NDStructure<Long>
times
Link copied to clipboard
open operator fun Long.times(arg: NDStructure<Long>): NDStructure<Long>
open operator override fun NDStructure<Long>.times(arg: Long): Nd4jArrayStructure<Long>
open operator fun NDStructure<Long>.times(b: NDStructure<Long>): NDStructure<Long>
toString
Link copied to clipboard
open fun toString(): String
unaryMinus
Link copied to clipboard
abstract operator fun NDStructure<Long>.unaryMinus(): NDStructure<Long>
unaryOperation
Link copied to clipboard
open fun unaryOperation(operation: String, arg: NDStructure<Long>): NDStructure<Long>
unaryOperationFunction
Link copied to clipboard
open override fun unaryOperationFunction(operation: String): (arg: NDStructure<Long>) -> NDStructure<Long>
unaryPlus
Link copied to clipboard
open operator fun NDStructure<Long>.unaryPlus(): NDStructure<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 NDStructure<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: NDStructure<Long>