Functions
Link copied to clipboard
inline fun <T : Any> auto(type: KClass<T>, vararg shape: Int, crossinline initializer: (IntArray) -> T): BufferND<T>
inline fun <T : Any> auto(type: KClass<T>, strides: Strides, crossinline initializer: (IntArray) -> T): BufferND<T>
Inline create NDStructure with non-boxing buffer implementation if it is possible
Link copied to clipboard
fun <T> buffered(shape: ShapeND, bufferFactory: BufferFactory<T> = BufferFactory.boxing(), initializer: (IntArray) -> T): BufferND<T>
fun <T> buffered(strides: Strides, bufferFactory: BufferFactory<T> = BufferFactory.boxing(), initializer: (IntArray) -> T): BufferND<T>
Creates a NDStructure with explicit buffer factory.
Link copied to clipboard
Indicates whether some StructureND is equal to another one.
fun contentEquals(st1: StructureND<Double>, st2: StructureND<Double>, tolerance: Double = 1.0E-11): Boolean
Link copied to clipboard
Debug output to string