Package space.kscience.kmath.memory
Types
Link copied to clipboard
The interface to read primitive types in this memory.
Link copied to clipboard
A specification to read or write custom objects with fixed size in bytes.
Link copied to clipboard
The interface to write primitive types into this memory.
Functions
Link copied to clipboard
Allocates the most effective platform-specific memory.
Allocates memory based on a DataView.
Allocates memory based on a ByteBuffer.
Allocates the most effective platform-specific memory.
Link copied to clipboard
fun ByteBuffer.asMemory(startOffset: Int = 0, size: Int = limit()): Memory
Content copied to clipboard
Wraps this ByteBuffer to Memory object.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Uses the memory for write then releases the writer.
fun <T : Any> MemoryWriter.write(spec: MemorySpec<T>, offset: Int, value: T)
Content copied to clipboard
Link copied to clipboard
fun <T : Any> MemoryWriter.writeArray(spec: MemorySpec<T>, offset: Int, array: Array<T>)
Content copied to clipboard