Package | Description |
---|---|
org.nd4j.linalg.api.buffer | |
org.nd4j.linalg.api.buffer.allocation | |
org.nd4j.linalg.api.buffer.factory |
Modifier and Type | Class and Description |
---|---|
class |
BaseDataBuffer
Base class for a data buffer
handling basic byte operations
among other things.
|
class |
DoubleBuffer
Double buffer implementation of data buffer
|
class |
FloatBuffer
Data buffer for floats
|
class |
IntBuffer
Int buffer
|
class |
LongBuffer
Int buffer
|
Modifier and Type | Field and Description |
---|---|
protected DataBuffer |
BaseDataBuffer.originalBuffer |
protected DataBuffer |
BaseDataBuffer.wrappedDataBuffer |
Modifier and Type | Method and Description |
---|---|
DataBuffer |
FloatBuffer.create(double[] data) |
DataBuffer |
LongBuffer.create(double[] data) |
abstract DataBuffer |
BaseDataBuffer.create(double[] data)
Create the data buffer
with respect to the given byte buffer
|
DataBuffer |
IntBuffer.create(double[] data) |
DataBuffer |
DoubleBuffer.create(double[] data) |
DataBuffer |
FloatBuffer.create(float[] data) |
DataBuffer |
LongBuffer.create(float[] data) |
abstract DataBuffer |
BaseDataBuffer.create(float[] data)
Create the data buffer
with respect to the given byte buffer
|
DataBuffer |
IntBuffer.create(float[] data) |
DataBuffer |
DoubleBuffer.create(float[] data) |
DataBuffer |
FloatBuffer.create(int[] data) |
DataBuffer |
LongBuffer.create(int[] data) |
abstract DataBuffer |
BaseDataBuffer.create(int[] data)
Create the data buffer
with respect to the given byte buffer
|
DataBuffer |
IntBuffer.create(int[] data) |
DataBuffer |
DoubleBuffer.create(int[] data) |
protected DataBuffer |
FloatBuffer.create(long length) |
protected DataBuffer |
LongBuffer.create(long length) |
protected abstract DataBuffer |
BaseDataBuffer.create(long length)
Create with length
|
protected DataBuffer |
IntBuffer.create(long length) |
protected DataBuffer |
DoubleBuffer.create(long length) |
DataBuffer |
BaseDataBuffer.dup() |
DataBuffer |
DataBuffer.dup()
Return a copy of this buffer
|
DataBuffer |
BaseDataBuffer.originalDataBuffer()
Original DataBuffer.
|
DataBuffer |
DataBuffer.originalDataBuffer()
Original DataBuffer.
|
DataBuffer |
BaseDataBuffer.reallocate(long length)
Reallocate the native memory of the buffer
|
DataBuffer |
DataBuffer.reallocate(long length)
Reallocate the native memory of the buffer
|
DataBuffer |
BaseDataBuffer.underlyingDataBuffer() |
DataBuffer |
DataBuffer.underlyingDataBuffer()
Underlying buffer:
This is meant for a data buffer
to be a view of another data buffer
|
Modifier and Type | Method and Description |
---|---|
void |
BaseDataBuffer.assign(DataBuffer... buffers) |
void |
DataBuffer.assign(DataBuffer... buffers)
Assign the given data buffers to this buffer
|
void |
BaseDataBuffer.assign(DataBuffer data) |
void |
DataBuffer.assign(DataBuffer data)
Assign the contents of this buffer
to this buffer
|
void |
BaseDataBuffer.assign(long[] offsets,
long[] strides,
DataBuffer... buffers) |
void |
DataBuffer.assign(long[] offsets,
long[] strides,
DataBuffer... buffers)
Assign the given buffers to this buffer
based on the given offsets and strides.
|
void |
BaseDataBuffer.assign(long[] offsets,
long[] strides,
long n,
DataBuffer... buffers) |
void |
DataBuffer.assign(long[] offsets,
long[] strides,
long n,
DataBuffer... buffers)
Assign the given buffers to this buffer
based on the given offsets and strides.
|
void |
BaseDataBuffer.copyAtStride(DataBuffer buf,
long n,
long stride,
long yStride,
long offset,
long yOffset) |
void |
DataBuffer.copyAtStride(DataBuffer buf,
long n,
long stride,
long yStride,
long offset,
long yOffset)
Copies from
the given buffer
at the specified stride
for up to n elements
|
boolean |
BaseDataBuffer.sameUnderlyingData(DataBuffer buffer) |
boolean |
DataBuffer.sameUnderlyingData(DataBuffer buffer)
Returns true if the underlying data source
is the same for both buffers (referential equals)
|
Constructor and Description |
---|
BaseDataBuffer(DataBuffer underlyingBuffer,
long length,
long offset)
Meant for creating another view of a buffer
|
DoubleBuffer(DataBuffer underlyingBuffer,
long length,
long offset) |
FloatBuffer(DataBuffer underlyingBuffer,
long length,
long offset) |
IntBuffer(DataBuffer underlyingBuffer,
long length,
long offset) |
LongBuffer(DataBuffer underlyingBuffer,
long length,
long offset) |
Modifier and Type | Method and Description |
---|---|
Object |
MemoryStrategy.alloc(DataBuffer buffer,
int stride,
int offset,
int length)
Allocate memory for the given buffer
|
Object |
MemoryStrategy.copyToHost(DataBuffer copy,
int offset)
Copy data to native or gpu
|
void |
MemoryStrategy.free(DataBuffer buffer,
int offset,
int length)
Free the buffer wrt the
allocation strategy
|
void |
MemoryStrategy.setData(DataBuffer buffer,
int offset) |
void |
MemoryStrategy.setData(DataBuffer buffer,
int offset,
int stride,
int length)
Set the data for the buffer
|
Modifier and Type | Method and Description |
---|---|
DataBuffer |
DefaultDataBufferFactory.create(DataBuffer underlyingBuffer,
long offset,
long length) |
DataBuffer |
DataBufferFactory.create(DataBuffer underlyingBuffer,
long offset,
long length)
Create a databuffer wrapping another one
this allows you to create a view of a buffer
with a different offset and length
backed by the same storage
|
DataBuffer |
DefaultDataBufferFactory.create(org.bytedeco.javacpp.DoublePointer doublePointer,
long length) |
DataBuffer |
DataBufferFactory.create(org.bytedeco.javacpp.DoublePointer doublePointer,
long length) |
DataBuffer |
DefaultDataBufferFactory.create(org.bytedeco.javacpp.FloatPointer floatPointer,
long length) |
DataBuffer |
DataBufferFactory.create(org.bytedeco.javacpp.FloatPointer floatPointer,
long length) |
DataBuffer |
DefaultDataBufferFactory.create(org.bytedeco.javacpp.IntPointer intPointer,
long length) |
DataBuffer |
DataBufferFactory.create(org.bytedeco.javacpp.IntPointer intPointer,
long length) |
DataBuffer |
DefaultDataBufferFactory.create(org.bytedeco.javacpp.Pointer pointer,
DataBuffer.Type type,
long length,
org.bytedeco.javacpp.indexer.Indexer indexer)
Create a data buffer based on the
given pointer, data buffer opType,
and length of the buffer
|
DataBuffer |
DataBufferFactory.create(org.bytedeco.javacpp.Pointer pointer,
DataBuffer.Type type,
long length,
org.bytedeco.javacpp.indexer.Indexer indexer)
Create a data buffer based on the
given pointer, data buffer opType,
and length of the buffer
|
DataBuffer |
DefaultDataBufferFactory.createDouble(byte[] data,
int length) |
DataBuffer |
DataBufferFactory.createDouble(byte[] data,
int length)
Create a double buffer buffer
|
DataBuffer |
DefaultDataBufferFactory.createDouble(ByteBuffer buffer,
int length) |
DataBuffer |
DataBufferFactory.createDouble(ByteBuffer buffer,
int length)
Creates a double data buffer
|
DataBuffer |
DefaultDataBufferFactory.createDouble(double[] data) |
DataBuffer |
DataBufferFactory.createDouble(double[] data)
Creates a double data buffer
|
DataBuffer |
DefaultDataBufferFactory.createDouble(double[] data,
boolean copy) |
DataBuffer |
DataBufferFactory.createDouble(double[] data,
boolean copy)
Creates a double data buffer
|
DataBuffer |
DefaultDataBufferFactory.createDouble(double[] data,
boolean copy,
MemoryWorkspace workspace) |
DataBuffer |
DataBufferFactory.createDouble(double[] data,
boolean copy,
MemoryWorkspace workspace)
Creates a double data buffer
|
DataBuffer |
DefaultDataBufferFactory.createDouble(double[] data,
MemoryWorkspace workspace) |
DataBuffer |
DataBufferFactory.createDouble(double[] data,
MemoryWorkspace workspace)
Creates a double data buffer
|
DataBuffer |
DefaultDataBufferFactory.createDouble(float[] data) |
DataBuffer |
DataBufferFactory.createDouble(float[] data)
Creates a double data buffer
|
DataBuffer |
DefaultDataBufferFactory.createDouble(float[] data,
boolean copy) |
DataBuffer |
DataBufferFactory.createDouble(float[] data,
boolean copy)
Creates a double data buffer
|
DataBuffer |
DefaultDataBufferFactory.createDouble(int[] data) |
DataBuffer |
DataBufferFactory.createDouble(int[] data)
Creates a double data buffer
|
DataBuffer |
DefaultDataBufferFactory.createDouble(int[] data,
boolean copy) |
DataBuffer |
DataBufferFactory.createDouble(int[] data,
boolean copy)
Creates a double data buffer
|
DataBuffer |
DefaultDataBufferFactory.createDouble(long length) |
DataBuffer |
DataBufferFactory.createDouble(long length)
Create a double data buffer
|
DataBuffer |
DefaultDataBufferFactory.createDouble(long[] data,
boolean copy) |
DataBuffer |
DataBufferFactory.createDouble(long[] data,
boolean copy)
Creates a double data buffer
|
DataBuffer |
DefaultDataBufferFactory.createDouble(long length,
boolean initialize) |
DataBuffer |
DataBufferFactory.createDouble(long length,
boolean initialize)
Create a double data buffer, with optional initialization
|
DataBuffer |
DefaultDataBufferFactory.createDouble(long length,
boolean initialize,
MemoryWorkspace workspace) |
DataBuffer |
DataBufferFactory.createDouble(long length,
boolean initialize,
MemoryWorkspace workspace) |
DataBuffer |
DefaultDataBufferFactory.createDouble(long offset,
byte[] data,
int length) |
DataBuffer |
DataBufferFactory.createDouble(long offset,
byte[] data,
int length)
Create a double buffer buffer
|
DataBuffer |
DefaultDataBufferFactory.createDouble(long offset,
ByteBuffer buffer,
int length) |
DataBuffer |
DataBufferFactory.createDouble(long offset,
ByteBuffer buffer,
int length)
Creates a double data buffer
|
DataBuffer |
DefaultDataBufferFactory.createDouble(long offset,
double[] data) |
DataBuffer |
DataBufferFactory.createDouble(long offset,
double[] data)
Creates a double data buffer
|
DataBuffer |
DefaultDataBufferFactory.createDouble(long offset,
double[] data,
boolean copy) |
DataBuffer |
DataBufferFactory.createDouble(long offset,
double[] data,
boolean copy)
Creates a double data buffer
|
DataBuffer |
DefaultDataBufferFactory.createDouble(long offset,
double[] data,
MemoryWorkspace workspace) |
DataBuffer |
DataBufferFactory.createDouble(long offset,
double[] data,
MemoryWorkspace workspace) |
DataBuffer |
DefaultDataBufferFactory.createDouble(long offset,
float[] data) |
DataBuffer |
DataBufferFactory.createDouble(long offset,
float[] data)
Creates a double data buffer
|
DataBuffer |
DefaultDataBufferFactory.createDouble(long offset,
float[] data,
boolean copy) |
DataBuffer |
DataBufferFactory.createDouble(long offset,
float[] data,
boolean copy)
Creates a double data buffer
|
DataBuffer |
DefaultDataBufferFactory.createDouble(long offset,
int length) |
DataBuffer |
DataBufferFactory.createDouble(long offset,
int length)
Create a double data buffer
|
DataBuffer |
DefaultDataBufferFactory.createDouble(long offset,
int[] data) |
DataBuffer |
DataBufferFactory.createDouble(long offset,
int[] data)
Creates a double data buffer
|
DataBuffer |
DefaultDataBufferFactory.createDouble(long offset,
int[] data,
boolean copy) |
DataBuffer |
DataBufferFactory.createDouble(long offset,
int[] data,
boolean copy)
Creates a double data buffer
|
DataBuffer |
DefaultDataBufferFactory.createFloat(byte[] data,
int length) |
DataBuffer |
DataBufferFactory.createFloat(byte[] data,
int length)
Create a double buffer
|
DataBuffer |
DefaultDataBufferFactory.createFloat(ByteBuffer buffer,
int length) |
DataBuffer |
DataBufferFactory.createFloat(ByteBuffer buffer,
int length)
Create a float data buffer
|
DataBuffer |
DefaultDataBufferFactory.createFloat(double[] data) |
DataBuffer |
DataBufferFactory.createFloat(double[] data)
Creates a float data buffer
|
DataBuffer |
DefaultDataBufferFactory.createFloat(double[] data,
boolean copy) |
DataBuffer |
DataBufferFactory.createFloat(double[] data,
boolean copy)
Creates a float data buffer
|
DataBuffer |
DefaultDataBufferFactory.createFloat(float[] data) |
DataBuffer |
DataBufferFactory.createFloat(float[] data)
Creates a float data buffer
|
DataBuffer |
DefaultDataBufferFactory.createFloat(float[] data,
boolean copy) |
DataBuffer |
DataBufferFactory.createFloat(float[] data,
boolean copy)
Creates a float data buffer
|
DataBuffer |
DefaultDataBufferFactory.createFloat(float[] data,
boolean copy,
MemoryWorkspace workspace) |
DataBuffer |
DataBufferFactory.createFloat(float[] data,
boolean copy,
MemoryWorkspace workspace) |
DataBuffer |
DefaultDataBufferFactory.createFloat(float[] data,
MemoryWorkspace workspace) |
DataBuffer |
DataBufferFactory.createFloat(float[] data,
MemoryWorkspace workspace) |
DataBuffer |
DefaultDataBufferFactory.createFloat(int[] data) |
DataBuffer |
DataBufferFactory.createFloat(int[] data)
Creates a double data buffer
|
DataBuffer |
DefaultDataBufferFactory.createFloat(int[] data,
boolean copy) |
DataBuffer |
DataBufferFactory.createFloat(int[] data,
boolean copy)
Creates a double data buffer
|
DataBuffer |
DefaultDataBufferFactory.createFloat(long length) |
DataBuffer |
DataBufferFactory.createFloat(long length)
Create a float data buffer
|
DataBuffer |
DefaultDataBufferFactory.createFloat(long[] data,
boolean copy) |
DataBuffer |
DataBufferFactory.createFloat(long[] data,
boolean copy)
Creates a float data buffer
|
DataBuffer |
DefaultDataBufferFactory.createFloat(long length,
boolean initialize) |
DataBuffer |
DataBufferFactory.createFloat(long length,
boolean initialize)
Create a float data buffer, with optional initialization
|
DataBuffer |
DefaultDataBufferFactory.createFloat(long length,
boolean initialize,
MemoryWorkspace workspace) |
DataBuffer |
DataBufferFactory.createFloat(long length,
boolean initialize,
MemoryWorkspace workspace) |
DataBuffer |
DefaultDataBufferFactory.createFloat(long offset,
byte[] data,
int length) |
DataBuffer |
DataBufferFactory.createFloat(long offset,
byte[] data,
int length)
Create a double buffer
|
DataBuffer |
DefaultDataBufferFactory.createFloat(long offset,
ByteBuffer buffer,
int length) |
DataBuffer |
DataBufferFactory.createFloat(long offset,
ByteBuffer buffer,
int length)
Create a float data buffer
|
DataBuffer |
DefaultDataBufferFactory.createFloat(long offset,
double[] data) |
DataBuffer |
DataBufferFactory.createFloat(long offset,
double[] data)
Creates a float data buffer
|
DataBuffer |
DefaultDataBufferFactory.createFloat(long offset,
double[] data,
boolean copy) |
DataBuffer |
DataBufferFactory.createFloat(long offset,
double[] data,
boolean copy)
Creates a float data buffer
|
DataBuffer |
DefaultDataBufferFactory.createFloat(long offset,
float[] data) |
DataBuffer |
DataBufferFactory.createFloat(long offset,
float[] data)
Creates a float data buffer
|
DataBuffer |
DefaultDataBufferFactory.createFloat(long offset,
float[] data,
boolean copy) |
DataBuffer |
DataBufferFactory.createFloat(long offset,
float[] data,
boolean copy)
Creates a float data buffer
|
DataBuffer |
DefaultDataBufferFactory.createFloat(long offset,
float[] data,
MemoryWorkspace workspace) |
DataBuffer |
DataBufferFactory.createFloat(long offset,
float[] data,
MemoryWorkspace workspace) |
DataBuffer |
DefaultDataBufferFactory.createFloat(long offset,
int length) |
DataBuffer |
DataBufferFactory.createFloat(long offset,
int length)
Create a float data buffer
|
DataBuffer |
DefaultDataBufferFactory.createFloat(long offset,
int[] data) |
DataBuffer |
DataBufferFactory.createFloat(long offset,
int[] data)
Creates a double data buffer
|
DataBuffer |
DefaultDataBufferFactory.createFloat(long offset,
int[] data,
boolean copy) |
DataBuffer |
DataBufferFactory.createFloat(long offset,
int[] data,
boolean copy)
Creates a double data buffer
|
DataBuffer |
DefaultDataBufferFactory.createHalf(byte[] data,
int length)
Creates a half-precision data buffer
|
DataBuffer |
DataBufferFactory.createHalf(byte[] data,
int length)
Creates a half-precision data buffer
|
DataBuffer |
DefaultDataBufferFactory.createHalf(ByteBuffer buffer,
int length)
Creates a half-precision data buffer
|
DataBuffer |
DataBufferFactory.createHalf(ByteBuffer buffer,
int length)
Creates a half-precision data buffer
|
DataBuffer |
DefaultDataBufferFactory.createHalf(double[] data)
Creates a half-precision data buffer
|
DataBuffer |
DataBufferFactory.createHalf(double[] data)
Creates a half-precision data buffer
|
DataBuffer |
DefaultDataBufferFactory.createHalf(double[] data,
boolean copy)
Creates a half-precision data buffer
|
DataBuffer |
DataBufferFactory.createHalf(double[] data,
boolean copy)
Creates a half-precision data buffer
|
DataBuffer |
DefaultDataBufferFactory.createHalf(float[] data)
Creates a half-precision data buffer
|
DataBuffer |
DataBufferFactory.createHalf(float[] data)
Creates a half-precision data buffer
|
DataBuffer |
DefaultDataBufferFactory.createHalf(float[] data,
boolean copy)
Creates a half-precision data buffer
|
DataBuffer |
DataBufferFactory.createHalf(float[] data,
boolean copy)
Creates a half-precision data buffer
|
DataBuffer |
DefaultDataBufferFactory.createHalf(float[] data,
boolean copy,
MemoryWorkspace workspace) |
DataBuffer |
DataBufferFactory.createHalf(float[] data,
boolean copy,
MemoryWorkspace workspace) |
DataBuffer |
DefaultDataBufferFactory.createHalf(float[] data,
MemoryWorkspace workspace) |
DataBuffer |
DataBufferFactory.createHalf(float[] data,
MemoryWorkspace workspace) |
DataBuffer |
DefaultDataBufferFactory.createHalf(int[] data)
Creates a half-precision data buffer
|
DataBuffer |
DataBufferFactory.createHalf(int[] data)
Creates a half-precision data buffer
|
DataBuffer |
DefaultDataBufferFactory.createHalf(int[] data,
boolean copy)
Creates a half-precision data buffer
|
DataBuffer |
DataBufferFactory.createHalf(int[] data,
boolean copy)
Creates a half-precision data buffer
|
DataBuffer |
DefaultDataBufferFactory.createHalf(long length) |
DataBuffer |
DataBufferFactory.createHalf(long length)
Creates half-precision data buffer
|
DataBuffer |
DefaultDataBufferFactory.createHalf(long length,
boolean initialize) |
DataBuffer |
DataBufferFactory.createHalf(long length,
boolean initialize)
Creates half-precision data buffer
|
DataBuffer |
DefaultDataBufferFactory.createHalf(long length,
boolean initialize,
MemoryWorkspace workspace) |
DataBuffer |
DataBufferFactory.createHalf(long length,
boolean initialize,
MemoryWorkspace workspace) |
DataBuffer |
DefaultDataBufferFactory.createHalf(long offset,
byte[] data,
boolean copy)
Creates a half-precision data buffer
|
DataBuffer |
DataBufferFactory.createHalf(long offset,
byte[] data,
boolean copy)
Creates a half-precision data buffer
|
DataBuffer |
DefaultDataBufferFactory.createHalf(long offset,
byte[] data,
int length)
Creates a half-precision data buffer
|
DataBuffer |
DataBufferFactory.createHalf(long offset,
byte[] data,
int length)
Creates a half-precision data buffer
|
DataBuffer |
DefaultDataBufferFactory.createHalf(long offset,
double[] data)
Creates a half-precision data buffer
|
DataBuffer |
DataBufferFactory.createHalf(long offset,
double[] data)
Creates a half-precision data buffer
|
DataBuffer |
DefaultDataBufferFactory.createHalf(long offset,
double[] data,
boolean copy)
Creates a half-precision data buffer
|
DataBuffer |
DataBufferFactory.createHalf(long offset,
double[] data,
boolean copy)
Creates a half-precision data buffer
|
DataBuffer |
DefaultDataBufferFactory.createHalf(long offset,
float[] data)
Creates a half-precision data buffer
|
DataBuffer |
DataBufferFactory.createHalf(long offset,
float[] data)
Creates a half-precision data buffer
|
DataBuffer |
DefaultDataBufferFactory.createHalf(long offset,
float[] data,
boolean copy)
Creates a half-precision data buffer
|
DataBuffer |
DataBufferFactory.createHalf(long offset,
float[] data,
boolean copy)
Creates a half-precision data buffer
|
DataBuffer |
DefaultDataBufferFactory.createHalf(long offset,
float[] data,
MemoryWorkspace workspace) |
DataBuffer |
DataBufferFactory.createHalf(long offset,
float[] data,
MemoryWorkspace workspace) |
DataBuffer |
DefaultDataBufferFactory.createHalf(long offset,
int length)
Creates a half-precision data buffer
|
DataBuffer |
DataBufferFactory.createHalf(long offset,
int length)
Creates a half-precision data buffer
|
DataBuffer |
DefaultDataBufferFactory.createHalf(long offset,
int[] data)
Creates a half-precision data buffer
|
DataBuffer |
DataBufferFactory.createHalf(long offset,
int[] data)
Creates a half-precision data buffer
|
DataBuffer |
DefaultDataBufferFactory.createHalf(long offset,
int[] data,
boolean copy)
Creates a half-precision data buffer
|
DataBuffer |
DataBufferFactory.createHalf(long offset,
int[] data,
boolean copy)
Creates a half-precision data buffer
|
DataBuffer |
DefaultDataBufferFactory.createInt(ByteBuffer buffer,
int length) |
DataBuffer |
DataBufferFactory.createInt(ByteBuffer buffer,
int length)
Create int buffer
|
DataBuffer |
DefaultDataBufferFactory.createInt(double[] data) |
DataBuffer |
DataBufferFactory.createInt(double[] data)
Creates an int data buffer
|
DataBuffer |
DefaultDataBufferFactory.createInt(double[] data,
boolean copy) |
DataBuffer |
DataBufferFactory.createInt(double[] data,
boolean copy)
Creates an int data buffer
|
DataBuffer |
DefaultDataBufferFactory.createInt(float[] data) |
DataBuffer |
DataBufferFactory.createInt(float[] data)
Creates an int data buffer
|
DataBuffer |
DefaultDataBufferFactory.createInt(float[] data,
boolean copy) |
DataBuffer |
DataBufferFactory.createInt(float[] data,
boolean copy)
Creates an int data buffer
|
DataBuffer |
DefaultDataBufferFactory.createInt(int[] data) |
DataBuffer |
DataBufferFactory.createInt(int[] data)
Creates a double data buffer
|
DataBuffer |
DefaultDataBufferFactory.createInt(int[] data,
boolean copy) |
DataBuffer |
DataBufferFactory.createInt(int[] data,
boolean copy)
Creates a double data buffer
|
DataBuffer |
DefaultDataBufferFactory.createInt(int[] data,
boolean copy,
MemoryWorkspace workspace) |
DataBuffer |
DataBufferFactory.createInt(int[] data,
boolean copy,
MemoryWorkspace workspace) |
DataBuffer |
DefaultDataBufferFactory.createInt(int[] data,
MemoryWorkspace workspace) |
DataBuffer |
DataBufferFactory.createInt(int[] data,
MemoryWorkspace workspace) |
DataBuffer |
DefaultDataBufferFactory.createInt(long length) |
DataBuffer |
DataBufferFactory.createInt(long length)
Create an int data buffer
|
DataBuffer |
DefaultDataBufferFactory.createInt(long[] data,
boolean copy) |
DataBuffer |
DataBufferFactory.createInt(long[] data,
boolean copy)
Creates a int data buffer
|
DataBuffer |
DefaultDataBufferFactory.createInt(long length,
boolean initialize) |
DataBuffer |
DataBufferFactory.createInt(long length,
boolean initialize)
Create an int data buffer, with optional initialization
|
DataBuffer |
DefaultDataBufferFactory.createInt(long length,
boolean initialize,
MemoryWorkspace workspace) |
DataBuffer |
DataBufferFactory.createInt(long length,
boolean initialize,
MemoryWorkspace workspace) |
DataBuffer |
DefaultDataBufferFactory.createInt(long offset,
ByteBuffer buffer,
int length) |
DataBuffer |
DataBufferFactory.createInt(long offset,
ByteBuffer buffer,
int length)
Create int buffer
|
DataBuffer |
DefaultDataBufferFactory.createInt(long offset,
double[] data) |
DataBuffer |
DataBufferFactory.createInt(long offset,
double[] data)
Creates an int data buffer
|
DataBuffer |
DefaultDataBufferFactory.createInt(long offset,
double[] data,
boolean copy) |
DataBuffer |
DataBufferFactory.createInt(long offset,
double[] data,
boolean copy)
Creates an int data buffer
|
DataBuffer |
DefaultDataBufferFactory.createInt(long offset,
float[] data) |
DataBuffer |
DataBufferFactory.createInt(long offset,
float[] data)
Creates an int data buffer
|
DataBuffer |
DefaultDataBufferFactory.createInt(long offset,
float[] data,
boolean copy) |
DataBuffer |
DataBufferFactory.createInt(long offset,
float[] data,
boolean copy)
Creates an int data buffer
|
DataBuffer |
DefaultDataBufferFactory.createInt(long offset,
int length) |
DataBuffer |
DataBufferFactory.createInt(long offset,
int length)
Create an int data buffer
|
DataBuffer |
DefaultDataBufferFactory.createInt(long offset,
int[] data) |
DataBuffer |
DataBufferFactory.createInt(long offset,
int[] data)
Creates a double data buffer
|
DataBuffer |
DefaultDataBufferFactory.createInt(long offset,
int[] data,
boolean copy) |
DataBuffer |
DataBufferFactory.createInt(long offset,
int[] data,
boolean copy)
Creates a double data buffer
|
DataBuffer |
DefaultDataBufferFactory.createLong(ByteBuffer buffer,
int length) |
DataBuffer |
DataBufferFactory.createLong(ByteBuffer buffer,
int length) |
DataBuffer |
DefaultDataBufferFactory.createLong(int[] data,
boolean copy) |
DataBuffer |
DataBufferFactory.createLong(int[] data,
boolean copy)
Creates a long data buffer
|
DataBuffer |
DefaultDataBufferFactory.createLong(long length) |
DataBuffer |
DataBufferFactory.createLong(long length) |
DataBuffer |
DefaultDataBufferFactory.createLong(long[] data) |
DataBuffer |
DataBufferFactory.createLong(long[] data) |
DataBuffer |
DefaultDataBufferFactory.createLong(long[] data,
boolean copy) |
DataBuffer |
DataBufferFactory.createLong(long[] data,
boolean copy) |
DataBuffer |
DefaultDataBufferFactory.createLong(long[] data,
MemoryWorkspace workspace) |
DataBuffer |
DataBufferFactory.createLong(long[] data,
MemoryWorkspace workspace) |
DataBuffer |
DefaultDataBufferFactory.createLong(long length,
boolean initialize) |
DataBuffer |
DataBufferFactory.createLong(long length,
boolean initialize)
Create an int data buffer, with optional initialization
|
DataBuffer |
DefaultDataBufferFactory.createLong(long length,
boolean initialize,
MemoryWorkspace workspace) |
DataBuffer |
DataBufferFactory.createLong(long length,
boolean initialize,
MemoryWorkspace workspace) |
DataBuffer |
DefaultDataBufferFactory.createSame(DataBuffer buffer,
boolean init)
This method will create new DataBuffer of the same dataType & same length
|
DataBuffer |
DataBufferFactory.createSame(DataBuffer buffer,
boolean init)
This method will create new DataBuffer of the same dataType & same length
|
DataBuffer |
DefaultDataBufferFactory.createSame(DataBuffer buffer,
boolean init,
MemoryWorkspace workspace)
This method will create new DataBuffer of the same dataType & same length
|
DataBuffer |
DataBufferFactory.createSame(DataBuffer buffer,
boolean init,
MemoryWorkspace workspace)
This method will create new DataBuffer of the same dataType & same length
|
Modifier and Type | Method and Description |
---|---|
Class<? extends DataBuffer> |
DefaultDataBufferFactory.doubleBufferClass() |
Class<? extends DataBuffer> |
DataBufferFactory.doubleBufferClass() |
Class<? extends DataBuffer> |
DefaultDataBufferFactory.floatBufferClass() |
Class<? extends DataBuffer> |
DataBufferFactory.floatBufferClass() |
Class<? extends DataBuffer> |
DefaultDataBufferFactory.halfBufferClass() |
Class<? extends DataBuffer> |
DataBufferFactory.halfBufferClass() |
Class<? extends DataBuffer> |
DefaultDataBufferFactory.intBufferClass() |
Class<? extends DataBuffer> |
DataBufferFactory.intBufferClass() |
Class<? extends DataBuffer> |
DefaultDataBufferFactory.longBufferClass() |
Class<? extends DataBuffer> |
DataBufferFactory.longBufferClass() |
Modifier and Type | Method and Description |
---|---|
DataBuffer |
DefaultDataBufferFactory.create(DataBuffer underlyingBuffer,
long offset,
long length) |
DataBuffer |
DataBufferFactory.create(DataBuffer underlyingBuffer,
long offset,
long length)
Create a databuffer wrapping another one
this allows you to create a view of a buffer
with a different offset and length
backed by the same storage
|
DataBuffer |
DefaultDataBufferFactory.createSame(DataBuffer buffer,
boolean init)
This method will create new DataBuffer of the same dataType & same length
|
DataBuffer |
DataBufferFactory.createSame(DataBuffer buffer,
boolean init)
This method will create new DataBuffer of the same dataType & same length
|
DataBuffer |
DefaultDataBufferFactory.createSame(DataBuffer buffer,
boolean init,
MemoryWorkspace workspace)
This method will create new DataBuffer of the same dataType & same length
|
DataBuffer |
DataBufferFactory.createSame(DataBuffer buffer,
boolean init,
MemoryWorkspace workspace)
This method will create new DataBuffer of the same dataType & same length
|
Copyright © 2018. All rights reserved.