Package space.kscience.kmath.nd
Types
BufferAlgebraND
Link copied to clipboard
BufferedFieldOpsND
Link copied to clipboard
open class BufferedFieldOpsND<T, out A : Field<T>>(bufferAlgebra: BufferAlgebra<T, A>, indexerBuilder: (IntArray) -> ShapeIndex) : BufferedRingOpsND<T, A> , FieldOpsND<T, A>
Content copied to clipboard
BufferedGroupNDOps
Link copied to clipboard
open class BufferedGroupNDOps<T, out A : Group<T>>(bufferAlgebra: BufferAlgebra<T, A>, indexerBuilder: (IntArray) -> ShapeIndex) : GroupOpsND<T, A> , BufferAlgebraND<T, A>
Content copied to clipboard
BufferedRingOpsND
Link copied to clipboard
open class BufferedRingOpsND<T, out A : Ring<T>>(bufferAlgebra: BufferAlgebra<T, A>, indexerBuilder: (IntArray) -> ShapeIndex) : BufferedGroupNDOps<T, A> , RingOpsND<T, A>
Content copied to clipboard
BufferND
Link copied to clipboard
open class BufferND<out T>(indexes: ShapeIndex, buffer: Buffer<T>) : StructureND<T>
Content copied to clipboard
DefaultStrides
Link copied to clipboard
DoubleBufferND
Link copied to clipboard
class DoubleBufferND(indexes: ShapeIndex, buffer: DoubleBuffer) : BufferND<Double>
Content copied to clipboard
DoubleFieldND
Link copied to clipboard
class DoubleFieldND(shape: Shape) : DoubleFieldOpsND, FieldND<Double, DoubleField> , NumbersAddOps<StructureND<Double>>
Content copied to clipboard
DoubleFieldOpsND
Link copied to clipboard
sealed class DoubleFieldOpsND : BufferedFieldOpsND<Double, DoubleField> , ScaleOperations<StructureND<Double>> , ExtendedFieldOps<StructureND<Double>>
Content copied to clipboard
FieldOpsND
Link copied to clipboard
interface FieldOpsND<T, out A : Field<T>> : FieldOps<StructureND<T>> , RingOpsND<T, A> , ScaleOperations<StructureND<T>>
Content copied to clipboard
Field of StructureND.
GroupOpsND
Link copied to clipboard
MutableBufferND
Link copied to clipboard
class MutableBufferND<T>(strides: ShapeIndex, buffer: MutableBuffer<T>) : BufferND<T> , MutableStructureND<T>
Content copied to clipboard
MutableStructure1D
Link copied to clipboard
interface MutableStructure1D<T> : Structure1D<T> , MutableStructureND<T> , MutableBuffer<T>
Content copied to clipboard
MutableStructure2D
Link copied to clipboard
interface MutableStructure2D<T> : Structure2D<T> , MutableStructureND<T>
Content copied to clipboard
Represents mutable Structure2D.
MutableStructureND
Link copied to clipboard
RingOpsND
Link copied to clipboard
ShapeIndex
Link copied to clipboard
ShapeMismatchException
Link copied to clipboard
class ShapeMismatchException(expected: IntArray, actual: IntArray) : RuntimeException
Content copied to clipboard
ShortRingND
Link copied to clipboard
class ShortRingND(shape: Shape) : ShortRingOpsND, RingND<Short, ShortRing> , NumbersAddOps<StructureND<Short>>
Content copied to clipboard
ShortRingOpsND
Link copied to clipboard
Strides
Link copied to clipboard
Structure1D
Link copied to clipboard
Structure2D
Link copied to clipboard
StructureFeature
Link copied to clipboard
StructureND
Link copied to clipboard
Functions
as1D
Link copied to clipboard
as2D
Link copied to clipboard
contentEquals
Link copied to clipboard
fun <T : Comparable<T>> LinearSpace<T, Ring<T>>.contentEquals(st1: StructureND<T>, st2: StructureND<T>): Boolean
Content copied to clipboard
Indicates whether some StructureND is equal to another one.
fun <T : Comparable<T>> AlgebraND<T, Ring<T>>.contentEquals(st1: StructureND<T>, st2: StructureND<T>): Boolean
Content copied to clipboard
Indicates whether some StructureND is equal to another one.
fun <T : Comparable<T>> LinearSpace<T, Ring<T>>.contentEquals(st1: StructureND<T>, st2: StructureND<T>, absoluteTolerance: T): Boolean
Content copied to clipboard
fun <T : Comparable<T>> GroupOpsND<T, Ring<T>>.contentEquals(st1: StructureND<T>, st2: StructureND<T>, absoluteTolerance: T): Boolean
Content copied to clipboard
getFeature
Link copied to clipboard
inline fun <T : Any, F : StructureFeature> AlgebraND<T, *>.getFeature(structure: StructureND<T>): F?
Content copied to clipboard
mapInPlace
Link copied to clipboard
inline fun <T> MutableStructureND<T>.mapInPlace(action: (index: IntArray, T) -> T)
Content copied to clipboard
mapToBuffer
Link copied to clipboard
inline fun <T, R : Any> StructureND<T>.mapToBuffer(factory: BufferFactory<R> = Buffer.Companion::auto, crossinline transform: (T) -> R): BufferND<R>
Content copied to clipboard
Transform structure to a new structure using provided BufferFactory and optimizing if argument is BufferND
mapToMutableBuffer
Link copied to clipboard
inline fun <T, R : Any> MutableStructureND<T>.mapToMutableBuffer(factory: MutableBufferFactory<R> = MutableBuffer.Companion::auto, crossinline transform: (T) -> R): MutableBufferND<R>
Content copied to clipboard
Transform structure to a new structure using provided MutableBufferFactory and optimizing if argument is MutableBufferND
ndAlgebra
Link copied to clipboard
structureND
Link copied to clipboard
withNdAlgebra
Link copied to clipboard
inline fun <R> DoubleField.withNdAlgebra(vararg shape: Int, action: DoubleFieldND.() -> R): R
Content copied to clipboard
inline fun <R> ShortRing.withNdAlgebra(vararg shape: Int, action: ShortRingND.() -> R): R
Content copied to clipboard
zip
Link copied to clipboard
inline fun <T : Any> StructureND<T>.zip(struct: StructureND<T>, crossinline block: (T, T) -> T): StructureND<T>
Content copied to clipboard