Package space.kscience.kmath.nd4j

Types

Link copied to clipboard
class DoubleNd4jArrayField(shape: Shape) : DoubleNd4jArrayFieldOps, FieldND<Double, DoubleField>
Link copied to clipboard
open class DoubleNd4jArrayFieldOps : Nd4jArrayExtendedFieldOps<Double, DoubleField>
Link copied to clipboard
object DoubleNd4jTensorAlgebra : Nd4jTensorAlgebra<Double, DoubleField>

Double specialization of Nd4jTensorAlgebra.

Link copied to clipboard
class FloatNd4jArrayField(shape: Shape) : FloatNd4jArrayFieldOps, RingND<Float, FloatField>
Link copied to clipboard
open class FloatNd4jArrayFieldOps : Nd4jArrayExtendedFieldOps<Float, FloatField>

Represents FieldND over Nd4jArrayStructure of Float.

Link copied to clipboard
class IntNd4jArrayRing(shape: Shape) : IntNd4jArrayRingOps, RingND<Int, IntRing>
Link copied to clipboard
open class IntNd4jArrayRingOps : Nd4jArrayRingOps<Int, IntRing>

Represents RingND over Nd4jArrayIntStructure.

Link copied to clipboard
interface Nd4jArrayAlgebra<T, out C : Algebra<T>> : AlgebraND<T, C>

Represents AlgebraND over Nd4jArrayAlgebra.

Link copied to clipboard

Represents intersection of ExtendedField and Field over Nd4jArrayStructure.

Link copied to clipboard
interface Nd4jArrayField<T, out F : Field<T>> : FieldOpsND<T, F> , Nd4jArrayRingOps<T, F>

Represents FieldND over Nd4jArrayStructure.

Link copied to clipboard
interface Nd4jArrayGroupOps<T, out S : Ring<T>> : GroupOpsND<T, S> , Nd4jArrayAlgebra<T, S>

Represents GroupND over Nd4jArrayStructure.

Link copied to clipboard
interface Nd4jArrayRingOps<T, out R : Ring<T>> : RingOpsND<T, R> , Nd4jArrayGroupOps<T, R>

Represents RingND over Nd4jArrayStructure.

Link copied to clipboard
sealed class Nd4jArrayStructure<T> : MutableStructureND<T>

Represents a StructureND wrapping an INDArray object.

Link copied to clipboard
interface Nd4jTensorAlgebra<T : Number, A : Field<T>> : AnalyticTensorAlgebra<T, A>

ND4J based TensorAlgebra implementation.

Functions

Link copied to clipboard
fun INDArray.asDoubleStructure(): Nd4jArrayStructure<Double>

Wraps this INDArray to Nd4jArrayStructure.

Link copied to clipboard
fun INDArray.asFloatStructure(): Nd4jArrayStructure<Float>

Wraps this INDArray to Nd4jArrayStructure.

Link copied to clipboard
fun INDArray.asIntStructure(): Nd4jArrayStructure<Int>

Wraps this INDArray to Nd4jArrayStructure.

Link copied to clipboard
fun DoubleField.nd4j(shapeFirst: Int, vararg shapeRest: Int): DoubleNd4jArrayField
fun FloatField.nd4j(shapeFirst: Int, vararg shapeRest: Int): FloatNd4jArrayField
fun IntRing.nd4j(shapeFirst: Int, vararg shapeRest: Int): IntNd4jArrayRing

Properties

Link copied to clipboard
val DoubleField.nd4j: DoubleNd4jArrayFieldOps
Link copied to clipboard
val FloatField.nd4j: FloatNd4jArrayFieldOps
Link copied to clipboard
val IntRing.nd4j: IntNd4jArrayRingOps