Companion
Functions
Link copied to clipboard
inline fun <T : Any> auto(shape: IntArray, crossinline initializer: (IntArray) -> T): BufferND<T>
Content copied to clipboard
inline fun <T : Any> auto(vararg shape: Int, crossinline initializer: (IntArray) -> T): BufferND<T>
Content copied to clipboard
inline fun <T : Any> auto(type: KClass<T>, vararg shape: Int, crossinline initializer: (IntArray) -> T): BufferND<T>
Content copied to clipboard
inline fun <T : Any> auto(type: KClass<T>, strides: Strides, crossinline initializer: (IntArray) -> T): BufferND<T>
Content copied to clipboard
inline fun <T : Any> auto(strides: Strides, crossinline initializer: (IntArray) -> T): BufferND<T>
Content copied to clipboard
Inline create NDStructure with non-boxing buffer implementation if it is possible
Link copied to clipboard
fun <T> buffered(shape: IntArray, bufferFactory: BufferFactory<T> = Buffer.Companion::boxing, initializer: (IntArray) -> T): BufferND<T>
Content copied to clipboard
fun <T> buffered(strides: Strides, bufferFactory: BufferFactory<T> = Buffer.Companion::boxing, initializer: (IntArray) -> T): BufferND<T>
Content copied to clipboard
Creates a NDStructure with explicit buffer factory.
Link copied to clipboard
fun <T : Any> contentEquals(st1: StructureND<T>, st2: StructureND<T>): Boolean
Content 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
Content copied to clipboard
Link copied to clipboard
Debug output to string