RealNd4jArrayField

class RealNd4jArrayField(shape: IntArray) : Nd4jArrayField<Double, RealField>

Represents NDField over Nd4jArrayRealStructure.

Constructors

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

Functions

add
Link copied to clipboard
abstract fun add(a: NDStructure<Double>, b: NDStructure<Double>): NDStructure<Double>
binaryOperation
Link copied to clipboard
open fun binaryOperation(operation: String, left: NDStructure<Double>, right: NDStructure<Double>): NDStructure<Double>
binaryOperationFunction
Link copied to clipboard
open override fun binaryOperationFunction(operation: String): (left: NDStructure<Double>, right: NDStructure<Double>) -> NDStructure<Double>
bindSymbol
Link copied to clipboard
open fun bindSymbol(value: String): NDStructure<Double>
combine
Link copied to clipboard
abstract fun combine(a: NDStructure<Double>, b: NDStructure<Double>, transform: RealField.(Double, Double) -> Double): NDStructure<Double>
div
Link copied to clipboard
open operator override fun Number.div(b: NDStructure<Double>): Nd4jArrayStructure<Double>
open operator override fun Double.div(arg: NDStructure<Double>): Nd4jArrayStructure<Double>
open operator override fun NDStructure<Double>.div(arg: Double): Nd4jArrayStructure<Double>
open operator fun NDStructure<Double>.div(b: NDStructure<Double>): NDStructure<Double>
open operator fun NDStructure<Double>.div(k: Number): NDStructure<Double>
divide
Link copied to clipboard
open override fun divide(a: NDStructure<Double>, b: NDStructure<Double>): Nd4jArrayStructure<Double>
equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open fun hashCode(): Int
invoke
Link copied to clipboard
open operator fun (Double) -> Double.invoke(structure: NDStructure<Double>): NDStructure<Double>
map
Link copied to clipboard
abstract fun NDStructure<Double>.map(transform: RealField.(Double) -> Double): NDStructure<Double>
mapIndexed
Link copied to clipboard
abstract fun NDStructure<Double>.mapIndexed(transform: RealField.(index: IntArray, Double) -> Double): NDStructure<Double>
minus
Link copied to clipboard
open operator override fun Double.minus(arg: NDStructure<Double>): Nd4jArrayStructure<Double>
open operator override fun NDStructure<Double>.minus(arg: Double): Nd4jArrayStructure<Double>
open operator fun NDStructure<Double>.minus(b: NDStructure<Double>): NDStructure<Double>
multiply
Link copied to clipboard
abstract fun multiply(a: NDStructure<Double>, b: NDStructure<Double>): NDStructure<Double>
abstract fun multiply(a: NDStructure<Double>, k: Number): NDStructure<Double>
plus
Link copied to clipboard
open operator fun Double.plus(arg: NDStructure<Double>): NDStructure<Double>
open operator override fun NDStructure<Double>.plus(arg: Double): Nd4jArrayStructure<Double>
open operator fun NDStructure<Double>.plus(b: NDStructure<Double>): NDStructure<Double>
produce
Link copied to clipboard
abstract fun produce(initializer: RealField.(IntArray) -> Double): NDStructure<Double>
times
Link copied to clipboard
open operator fun Double.times(arg: NDStructure<Double>): NDStructure<Double>
open operator override fun NDStructure<Double>.times(arg: Double): Nd4jArrayStructure<Double>
open operator fun NDStructure<Double>.times(b: NDStructure<Double>): NDStructure<Double>
open operator fun Number.times(b: NDStructure<Double>): NDStructure<Double>
open operator fun NDStructure<Double>.times(k: Number): NDStructure<Double>
toString
Link copied to clipboard
open fun toString(): String
unaryMinus
Link copied to clipboard
open operator fun NDStructure<Double>.unaryMinus(): NDStructure<Double>
unaryOperation
Link copied to clipboard
open fun unaryOperation(operation: String, arg: NDStructure<Double>): NDStructure<Double>
unaryOperationFunction
Link copied to clipboard
open override fun unaryOperationFunction(operation: String): (arg: NDStructure<Double>) -> NDStructure<Double>
unaryPlus
Link copied to clipboard
open operator fun NDStructure<Double>.unaryPlus(): NDStructure<Double>
wrap
Link copied to clipboard
open override fun INDArray.wrap(): Nd4jArrayStructure<Double>
Wraps INDArray to N.

Properties

elementContext
Link copied to clipboard
open override val elementContext: RealField
ndArray
Link copied to clipboard
open val NDStructure<Double>.ndArray: INDArray
one
Link copied to clipboard
abstract val one: NDStructure<Double>
shape
Link copied to clipboard
open override val shape: IntArray
zero
Link copied to clipboard
abstract val zero: NDStructure<Double>