Functions

acos
Link copied to clipboard
common
open override fun acos(arg: NDStructure<Double>): NDBuffer<Double>
Computes the inverse cosine of arg.
acosh
Link copied to clipboard
common
open override fun acosh(arg: NDStructure<Double>): NDBuffer<Double>
Computes the inverse hyperbolic cosine of arg.
add
Link copied to clipboard
common
open override fun add(a: NDStructure<Double>, b: NDStructure<Double>): NDStructure<Double>
Element-wise addition.
asin
Link copied to clipboard
common
open override fun asin(arg: NDStructure<Double>): NDBuffer<Double>
Computes the inverse sine of arg.
asinh
Link copied to clipboard
common
open override fun asinh(arg: NDStructure<Double>): NDBuffer<Double>
Computes the inverse hyperbolic sine of arg.
atan
Link copied to clipboard
common
open override fun atan(arg: NDStructure<Double>): NDBuffer<Double>
Computes the inverse tangent of arg.
atanh
Link copied to clipboard
common
open override fun atanh(arg: NDStructure<Double>): NDBuffer<Double>
Computes the inverse hyperbolic tangent of arg.
binaryOperation
Link copied to clipboard
common
open fun binaryOperation(operation: String, left: NDStructure<Double>, right: NDStructure<Double>): NDStructure<Double>
Dynamically invokes a binary operation with the certain name.
binaryOperationFunction
Link copied to clipboard
common
open override fun binaryOperationFunction(operation: String): (left: NDStructure<Double>, right: NDStructure<Double>) -> NDStructure<Double>
Dynamically dispatches a binary operation with the certain name.
bindSymbol
Link copied to clipboard
common
open fun bindSymbol(value: String): NDStructure<Double>
Wraps a raw string to T object.
combine
Link copied to clipboard
common
open inline override fun combine(a: NDStructure<Double>, b: NDStructure<Double>, transform: RealField.(Double, Double) -> Double): NDBuffer<Double>
cos
Link copied to clipboard
common
open override fun cos(arg: NDStructure<Double>): NDBuffer<Double>
Computes the cosine of arg.
cosh
Link copied to clipboard
common
open override fun cosh(arg: NDStructure<Double>): NDBuffer<Double>
Computes the hyperbolic cosine of arg.
div
Link copied to clipboard
common
open operator fun Double.div(arg: NDStructure<Double>): NDStructure<Double>
Divides an element by an ND structure of it.
open operator fun NDStructure<Double>.div(arg: Double): NDStructure<Double>
Divides an ND structure by an element of it.
open operator fun NDStructure<Double>.div(b: NDStructure<Double>): NDStructure<Double>
Division of two elements.
open operator fun NDStructure<Double>.div(k: Number): NDStructure<Double>
Division of this element by scalar.
divide
Link copied to clipboard
common
open override fun divide(a: NDStructure<Double>, b: NDStructure<Double>): NDStructure<Double>
Element-wise division.
equals
Link copied to clipboard
common
open operator fun equals(other: Any?): Boolean
exp
Link copied to clipboard
common
open override fun exp(arg: NDStructure<Double>): NDBuffer<Double>
Computes Euler's number e raised to the power of the value arg.
getFeature
Link copied to clipboard
common
open fun <F : Any> getFeature(structure: NDStructure<Double>, type: KClass<F>): F?
Get a feature of the structure in this scope.
hashCode
Link copied to clipboard
common
open fun hashCode(): Int
invoke
Link copied to clipboard
common
open operator fun (Double) -> Double.invoke(structure: NDStructure<Double>): NDStructure<Double>
Element-wise invocation of function working on T on a NDStructure.
leftSideNumberOperation
Link copied to clipboard
common
open fun leftSideNumberOperation(operation: String, left: Number, right: NDStructure<Double>): NDStructure<Double>
Dynamically invokes a binary operation with the certain name with numeric first argument.
leftSideNumberOperationFunction
Link copied to clipboard
common
open fun leftSideNumberOperationFunction(operation: String): (left: Number, right: NDStructure<Double>) -> NDStructure<Double>
Dynamically dispatches a binary operation with the certain name with numeric first argument.
ln
Link copied to clipboard
common
open override fun ln(arg: NDStructure<Double>): NDBuffer<Double>
Computes the natural logarithm (base e) of the value arg.
map
Link copied to clipboard
common
open inline override fun NDStructure<Double>.map(transform: RealField.(Double) -> Double): NDBuffer<Double>
mapIndexed
Link copied to clipboard
common
open inline override fun NDStructure<Double>.mapIndexed(transform: RealField.(index: IntArray, Double) -> Double): NDBuffer<Double>
minus
Link copied to clipboard
common
open operator fun Double.minus(arg: NDStructure<Double>): NDStructure<Double>
Subtracts an ND structure from an element of it.
open operator fun NDStructure<Double>.minus(arg: Double): NDStructure<Double>
Subtracts an element from ND structure of it.
open operator fun NDStructure<Double>.minus(b: NDStructure<Double>): NDStructure<Double>
Subtraction of two elements.
open operator fun Number.minus(b: NDStructure<Double>): NDStructure<Double>
Subtraction of number from element.
open operator fun NDStructure<Double>.minus(b: Number): NDStructure<Double>
Subtraction of element from number.
multiply
Link copied to clipboard
common
open override fun multiply(a: NDStructure<Double>, b: NDStructure<Double>): NDStructure<Double>
Element-wise multiplication.
number
Link copied to clipboard
common
open override fun number(value: Number): NDBuffer<Double>
Wraps a number to T object.
plus
Link copied to clipboard
common
open operator fun Double.plus(arg: NDStructure<Double>): NDStructure<Double>
Adds an element to ND structure of it.
open operator fun NDStructure<Double>.plus(arg: Double): NDStructure<Double>
Adds an ND structure to an element of it.
open operator fun NDStructure<Double>.plus(b: NDStructure<Double>): NDStructure<Double>
Addition of two elements.
open operator fun Number.plus(b: NDStructure<Double>): NDStructure<Double>
Addition of scalar and element.
open operator fun NDStructure<Double>.plus(b: Number): NDStructure<Double>
Addition of element and scalar.
pow
Link copied to clipboard
common
open infix fun NDStructure<Double>.pow(pow: Number): NDStructure<Double>
Raises this value to the power pow.
power
Link copied to clipboard
common
open override fun power(arg: NDStructure<Double>, pow: Number): NDBuffer<Double>
Raises arg to the power pow.
produce
Link copied to clipboard
common
open inline override fun produce(initializer: RealField.(IntArray) -> Double): NDBuffer<Double>
rightSideNumberOperation
Link copied to clipboard
common
open fun rightSideNumberOperation(operation: String, left: NDStructure<Double>, right: Number): NDStructure<Double>
Dynamically invokes a binary operation with the certain name with numeric second argument.
rightSideNumberOperationFunction
Link copied to clipboard
common
open fun rightSideNumberOperationFunction(operation: String): (left: NDStructure<Double>, right: Number) -> NDStructure<Double>
Dynamically dispatches a binary operation with the certain name with numeric first argument.
scale
Link copied to clipboard
common
open override fun scale(a: NDStructure<Double>, value: Double): NDStructure<Double>
Scaling an element by a scalar.
sin
Link copied to clipboard
common
open override fun sin(arg: NDStructure<Double>): NDBuffer<Double>
Computes the sine of arg.
sinh
Link copied to clipboard
common
open override fun sinh(arg: NDStructure<Double>): NDBuffer<Double>
Computes the hyperbolic sine of arg.
sqrt
Link copied to clipboard
common
open fun sqrt(arg: NDStructure<Double>): NDStructure<Double>
Computes the square root of the value arg.
tan
Link copied to clipboard
common
open override fun tan(arg: NDStructure<Double>): NDBuffer<Double>
Computes the tangent of arg.
tanh
Link copied to clipboard
common
open override fun tanh(arg: NDStructure<Double>): NDBuffer<Double>
Computes the hyperbolic tangent of arg.
times
Link copied to clipboard
common
open operator fun Double.times(arg: NDStructure<Double>): NDStructure<Double>
Multiplies an element by a ND structure of it.
open operator fun NDStructure<Double>.times(arg: Double): NDStructure<Double>
Multiplies an ND structure by an element of it.
open operator fun NDStructure<Double>.times(b: NDStructure<Double>): NDStructure<Double>
Multiplies this element by scalar.
open operator fun Number.times(b: NDStructure<Double>): NDStructure<Double>
Multiplication of this number by element.
open operator fun NDStructure<Double>.times(k: Number): NDStructure<Double>
Multiplication of this element by a scalar.
toString
Link copied to clipboard
common
open fun toString(): String
unaryMinus
Link copied to clipboard
common
open operator override fun NDStructure<Double>.unaryMinus(): NDStructure<Double>
The negation of this element.
unaryOperation
Link copied to clipboard
common
open fun unaryOperation(operation: String, arg: NDStructure<Double>): NDStructure<Double>
Dynamically invokes an unary operation with the certain name.
unaryOperationFunction
Link copied to clipboard
common
open override fun unaryOperationFunction(operation: String): (arg: NDStructure<Double>) -> NDStructure<Double>
Dynamically dispatches an unary operation with the certain name.
unaryPlus
Link copied to clipboard
common
open operator fun NDStructure<Double>.unaryPlus(): NDStructure<Double>
Returns this value.

Properties

buffer
Link copied to clipboard
common
open override val NDStructure<Double>.buffer: RealBuffer
bufferFactory
Link copied to clipboard
common
override val bufferFactory: BufferFactory<Double>
elementContext
Link copied to clipboard
common
override val elementContext: RealField
The algebra over elements of ND structure.
one
Link copied to clipboard
common
open override val one: NDBuffer<Double>
neutral operation for multiplication
shape
Link copied to clipboard
common
override val shape: IntArray
The shape of ND-structures this algebra operates on.
strides
Link copied to clipboard
common
open override val strides: Strides
zero
Link copied to clipboard
common
open override val zero: NDBuffer<Double>
The neutral element of addition.