Package space.kscience.kmath.nd
Types
BufferAlgebraND
Link copied to clipboard
BufferedFieldND
Link copied to clipboard
open class BufferedFieldND<T, out R : Field<T>>(shape: IntArray, elementContext: R, bufferFactory: BufferFactory<T>) : BufferedRingND<T, R> , FieldND<T, R>
Content copied to clipboard
BufferedGroupND
Link copied to clipboard
open class BufferedGroupND<T, out A : Group<T>>(shape: IntArray, elementContext: A, bufferFactory: BufferFactory<T>) : GroupND<T, A> , BufferAlgebraND<T, A>
Content copied to clipboard
BufferedRingND
Link copied to clipboard
open class BufferedRingND<T, out R : Ring<T>>(shape: IntArray, elementContext: R, bufferFactory: BufferFactory<T>) : BufferedGroupND<T, R> , RingND<T, R>
Content copied to clipboard
BufferND
Link copied to clipboard
DefaultStrides
Link copied to clipboard
DoubleFieldND
Link copied to clipboard
class DoubleFieldND(shape: IntArray) : BufferedFieldND<Double, DoubleField> , NumbersAddOperations<StructureND<Double>> , ScaleOperations<StructureND<Double>> , ExtendedField<StructureND<Double>>
Content copied to clipboard
MutableBufferND
Link copied to clipboard
class MutableBufferND<T>(strides: Strides, mutableBuffer: 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
ShapeMismatchException
Link copied to clipboard
class ShapeMismatchException(expected: IntArray, actual: IntArray) : RuntimeException
Content copied to clipboard
ShortRingND
Link copied to clipboard
class ShortRingND(shape: IntArray) : BufferedRingND<Short, ShortRing> , NumbersAddOperations<StructureND<Short>>
Content 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
autoNdAlgebra
Link copied to clipboard
combine
Link copied to clipboard
inline fun <T : Any> StructureND<T>.combine(struct: StructureND<T>, crossinline block: (T, T) -> T): StructureND<T>
Content 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>> GroupND<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: (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
produceInline
Link copied to clipboard
inline fun BufferedRingND<Short, ShortRing>.produceInline(crossinline initializer: ShortRing.(Int) -> Short): BufferND<Short>
Content 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
inline fun <T, A : Field<T>, R> A.withNdAlgebra(noinline bufferFactory: BufferFactory<T>, vararg shape: Int, action: BufferedFieldND<T, A>.() -> R): R
Content copied to clipboard
inline fun <T, A : Group<T>, R> A.withNdAlgebra(noinline bufferFactory: BufferFactory<T>, vararg shape: Int, action: BufferedGroupND<T, A>.() -> R): R
Content copied to clipboard