Package | Description |
---|---|
org.bytedeco.javacpp.indexer |
Contains classes for multidimensional access of arrays and buffers.
|
Modifier and Type | Class and Description |
---|---|
class |
ByteArrayIndexer
An indexer for a
byte[] array. |
class |
ByteBufferIndexer
An indexer for a
ByteBuffer . |
class |
ByteRawIndexer
An indexer for a
BytePointer using the Raw instance. |
Modifier and Type | Method and Description |
---|---|
static ByteIndexer |
ByteIndexer.create(byte[] array)
Returns
new ByteArrayIndexer(array) |
static ByteIndexer |
ByteIndexer.create(byte[] array)
Returns
new ByteArrayIndexer(array) |
static ByteIndexer |
ByteIndexer.create(byte[] array,
Index index)
Returns
new ByteArrayIndexer(array, index) |
static ByteIndexer |
ByteIndexer.create(byte[] array,
Index index)
Returns
new ByteArrayIndexer(array, index) |
static ByteIndexer |
ByteIndexer.create(byte[] array,
long... sizes)
Returns
new ByteArrayIndexer(array, sizes) |
static ByteIndexer |
ByteIndexer.create(byte[] array,
long... sizes)
Returns
new ByteArrayIndexer(array, sizes) |
static ByteIndexer |
ByteIndexer.create(byte[] array,
long[] sizes,
long[] strides)
Returns
new ByteArrayIndexer(array, sizes, strides) |
static ByteIndexer |
ByteIndexer.create(byte[] array,
long[] sizes,
long[] strides)
Returns
new ByteArrayIndexer(array, sizes, strides) |
static ByteIndexer |
ByteIndexer.create(ByteBuffer buffer)
Returns
new ByteBufferIndexer(buffer) |
static ByteIndexer |
ByteIndexer.create(ByteBuffer buffer)
Returns
new ByteBufferIndexer(buffer) |
static ByteIndexer |
ByteIndexer.create(ByteBuffer buffer,
Index index)
Returns
new ByteBufferIndexer(buffer, index) |
static ByteIndexer |
ByteIndexer.create(ByteBuffer buffer,
Index index)
Returns
new ByteBufferIndexer(buffer, index) |
static ByteIndexer |
ByteIndexer.create(ByteBuffer buffer,
long... sizes)
Returns
new ByteBufferIndexer(buffer, sizes) |
static ByteIndexer |
ByteIndexer.create(ByteBuffer buffer,
long... sizes)
Returns
new ByteBufferIndexer(buffer, sizes) |
static ByteIndexer |
ByteIndexer.create(ByteBuffer buffer,
long[] sizes,
long[] strides)
Returns
new ByteBufferIndexer(buffer, sizes, strides) |
static ByteIndexer |
ByteIndexer.create(ByteBuffer buffer,
long[] sizes,
long[] strides)
Returns
new ByteBufferIndexer(buffer, sizes, strides) |
static ByteIndexer |
ByteIndexer.create(BytePointer pointer)
Returns
new ByteRawIndexer(pointer) |
static ByteIndexer |
ByteIndexer.create(BytePointer pointer)
Returns
new ByteRawIndexer(pointer) |
static ByteIndexer |
ByteIndexer.create(BytePointer pointer,
Index index)
Returns
new ByteRawIndexer(pointer, index) |
static ByteIndexer |
ByteIndexer.create(BytePointer pointer,
Index index)
Returns
new ByteRawIndexer(pointer, index) |
static ByteIndexer |
ByteIndexer.create(BytePointer pointer,
Index index,
boolean direct)
Creates a byte indexer to access efficiently the data of a pointer.
|
static ByteIndexer |
ByteIndexer.create(BytePointer pointer,
Index index,
boolean direct)
Creates a byte indexer to access efficiently the data of a pointer.
|
static ByteIndexer |
ByteIndexer.create(BytePointer pointer,
long... sizes)
Returns
new ByteRawIndexer(pointer, index) |
static ByteIndexer |
ByteIndexer.create(BytePointer pointer,
long... sizes)
Returns
new ByteRawIndexer(pointer, index) |
static ByteIndexer |
ByteIndexer.create(BytePointer pointer,
long[] sizes,
long[] strides)
Returns
new ByteRawIndexer(pointer, sizes, strides) |
static ByteIndexer |
ByteIndexer.create(BytePointer pointer,
long[] sizes,
long[] strides)
Returns
new ByteRawIndexer(pointer, sizes, strides) |
static ByteIndexer |
ByteIndexer.create(BytePointer pointer,
long[] sizes,
long[] strides,
boolean direct)
Returns
create(pointer, Index.create(sizes, strides), direct) |
static ByteIndexer |
ByteIndexer.create(BytePointer pointer,
long[] sizes,
long[] strides,
boolean direct)
Returns
create(pointer, Index.create(sizes, strides), direct) |
ByteIndexer |
ByteIndexer.get(long[] indices,
byte[] b)
Returns
this where b = array/buffer[index(indices)] |
ByteIndexer |
ByteIndexer.get(long[] indices,
byte[] b)
Returns
this where b = array/buffer[index(indices)] |
ByteIndexer |
ByteArrayIndexer.get(long[] indices,
byte[] b,
int offset,
int length) |
ByteIndexer |
ByteBufferIndexer.get(long[] indices,
byte[] b,
int offset,
int length) |
abstract ByteIndexer |
ByteIndexer.get(long[] indices,
byte[] b,
int offset,
int length)
Returns
this where b[offset:offset + length] = array/buffer[index(indices)] |
ByteIndexer |
ByteRawIndexer.get(long[] indices,
byte[] b,
int offset,
int length) |
ByteIndexer |
ByteRawIndexer.get(long[] indices,
byte[] b,
int offset,
int length) |
abstract ByteIndexer |
ByteIndexer.get(long[] indices,
byte[] b,
int offset,
int length)
Returns
this where b[offset:offset + length] = array/buffer[index(indices)] |
ByteIndexer |
ByteBufferIndexer.get(long[] indices,
byte[] b,
int offset,
int length) |
ByteIndexer |
ByteArrayIndexer.get(long[] indices,
byte[] b,
int offset,
int length) |
ByteIndexer |
ByteIndexer.get(long i,
byte[] b)
Returns
this where b = array/buffer[index(i)] |
ByteIndexer |
ByteIndexer.get(long i,
byte[] b)
Returns
this where b = array/buffer[index(i)] |
ByteIndexer |
ByteArrayIndexer.get(long i,
byte[] b,
int offset,
int length) |
ByteIndexer |
ByteBufferIndexer.get(long i,
byte[] b,
int offset,
int length) |
abstract ByteIndexer |
ByteIndexer.get(long i,
byte[] b,
int offset,
int length)
Returns
this where b[offset:offset + length] = array/buffer[index(i)] |
ByteIndexer |
ByteRawIndexer.get(long i,
byte[] b,
int offset,
int length) |
ByteIndexer |
ByteRawIndexer.get(long i,
byte[] b,
int offset,
int length) |
abstract ByteIndexer |
ByteIndexer.get(long i,
byte[] b,
int offset,
int length)
Returns
this where b[offset:offset + length] = array/buffer[index(i)] |
ByteIndexer |
ByteBufferIndexer.get(long i,
byte[] b,
int offset,
int length) |
ByteIndexer |
ByteArrayIndexer.get(long i,
byte[] b,
int offset,
int length) |
ByteIndexer |
ByteIndexer.get(long i,
long j,
byte[] b)
Returns
this where b = array/buffer[index(i, j)] |
ByteIndexer |
ByteIndexer.get(long i,
long j,
byte[] b)
Returns
this where b = array/buffer[index(i, j)] |
ByteIndexer |
ByteArrayIndexer.get(long i,
long j,
byte[] b,
int offset,
int length) |
ByteIndexer |
ByteBufferIndexer.get(long i,
long j,
byte[] b,
int offset,
int length) |
abstract ByteIndexer |
ByteIndexer.get(long i,
long j,
byte[] b,
int offset,
int length)
Returns
this where b[offset:offset + length] = array/buffer[index(i, j)] |
ByteIndexer |
ByteRawIndexer.get(long i,
long j,
byte[] b,
int offset,
int length) |
ByteIndexer |
ByteRawIndexer.get(long i,
long j,
byte[] b,
int offset,
int length) |
abstract ByteIndexer |
ByteIndexer.get(long i,
long j,
byte[] b,
int offset,
int length)
Returns
this where b[offset:offset + length] = array/buffer[index(i, j)] |
ByteIndexer |
ByteBufferIndexer.get(long i,
long j,
byte[] b,
int offset,
int length) |
ByteIndexer |
ByteArrayIndexer.get(long i,
long j,
byte[] b,
int offset,
int length) |
ByteIndexer |
ByteIndexer.put(long[] indices,
byte... b)
Returns
this where array/buffer[index(indices)] = b |
ByteIndexer |
ByteIndexer.put(long[] indices,
byte... b)
Returns
this where array/buffer[index(indices)] = b |
ByteIndexer |
ByteArrayIndexer.put(long[] indices,
byte b) |
ByteIndexer |
ByteBufferIndexer.put(long[] indices,
byte b) |
abstract ByteIndexer |
ByteIndexer.put(long[] indices,
byte b)
Returns
this where array/buffer[index(indices)] = b |
ByteIndexer |
ByteRawIndexer.put(long[] indices,
byte b) |
ByteIndexer |
ByteRawIndexer.put(long[] indices,
byte b) |
abstract ByteIndexer |
ByteIndexer.put(long[] indices,
byte b)
Returns
this where array/buffer[index(indices)] = b |
ByteIndexer |
ByteBufferIndexer.put(long[] indices,
byte b) |
ByteIndexer |
ByteArrayIndexer.put(long[] indices,
byte b) |
ByteIndexer |
ByteArrayIndexer.put(long[] indices,
byte[] b,
int offset,
int length) |
ByteIndexer |
ByteBufferIndexer.put(long[] indices,
byte[] b,
int offset,
int length) |
abstract ByteIndexer |
ByteIndexer.put(long[] indices,
byte[] b,
int offset,
int length)
Returns
this where array/buffer[index(indices)] = b[offset:offset + length] |
ByteIndexer |
ByteRawIndexer.put(long[] indices,
byte[] b,
int offset,
int length) |
ByteIndexer |
ByteRawIndexer.put(long[] indices,
byte[] b,
int offset,
int length) |
abstract ByteIndexer |
ByteIndexer.put(long[] indices,
byte[] b,
int offset,
int length)
Returns
this where array/buffer[index(indices)] = b[offset:offset + length] |
ByteIndexer |
ByteBufferIndexer.put(long[] indices,
byte[] b,
int offset,
int length) |
ByteIndexer |
ByteArrayIndexer.put(long[] indices,
byte[] b,
int offset,
int length) |
ByteIndexer |
ByteIndexer.put(long i,
byte... b)
Returns
this where array/buffer[index(i)] = b |
ByteIndexer |
ByteIndexer.put(long i,
byte... b)
Returns
this where array/buffer[index(i)] = b |
ByteIndexer |
ByteArrayIndexer.put(long i,
byte b) |
ByteIndexer |
ByteBufferIndexer.put(long i,
byte b) |
abstract ByteIndexer |
ByteIndexer.put(long i,
byte b)
Returns
this where array/buffer[index(i)] = b |
ByteIndexer |
ByteRawIndexer.put(long i,
byte b) |
ByteIndexer |
ByteRawIndexer.put(long i,
byte b) |
abstract ByteIndexer |
ByteIndexer.put(long i,
byte b)
Returns
this where array/buffer[index(i)] = b |
ByteIndexer |
ByteBufferIndexer.put(long i,
byte b) |
ByteIndexer |
ByteArrayIndexer.put(long i,
byte b) |
ByteIndexer |
ByteArrayIndexer.put(long i,
byte[] b,
int offset,
int length) |
ByteIndexer |
ByteBufferIndexer.put(long i,
byte[] b,
int offset,
int length) |
abstract ByteIndexer |
ByteIndexer.put(long i,
byte[] b,
int offset,
int length)
Returns
this where array/buffer[index(i)] = b[offset:offset + length] |
ByteIndexer |
ByteRawIndexer.put(long i,
byte[] b,
int offset,
int length) |
ByteIndexer |
ByteRawIndexer.put(long i,
byte[] b,
int offset,
int length) |
abstract ByteIndexer |
ByteIndexer.put(long i,
byte[] b,
int offset,
int length)
Returns
this where array/buffer[index(i)] = b[offset:offset + length] |
ByteIndexer |
ByteBufferIndexer.put(long i,
byte[] b,
int offset,
int length) |
ByteIndexer |
ByteArrayIndexer.put(long i,
byte[] b,
int offset,
int length) |
ByteIndexer |
ByteIndexer.put(long i,
long j,
byte... b)
Returns
this where array/buffer[index(i, j)] = b |
ByteIndexer |
ByteIndexer.put(long i,
long j,
byte... b)
Returns
this where array/buffer[index(i, j)] = b |
ByteIndexer |
ByteArrayIndexer.put(long i,
long j,
byte b) |
ByteIndexer |
ByteBufferIndexer.put(long i,
long j,
byte b) |
abstract ByteIndexer |
ByteIndexer.put(long i,
long j,
byte b)
Returns
this where array/buffer[index(i, j)] = b |
ByteIndexer |
ByteRawIndexer.put(long i,
long j,
byte b) |
ByteIndexer |
ByteRawIndexer.put(long i,
long j,
byte b) |
abstract ByteIndexer |
ByteIndexer.put(long i,
long j,
byte b)
Returns
this where array/buffer[index(i, j)] = b |
ByteIndexer |
ByteBufferIndexer.put(long i,
long j,
byte b) |
ByteIndexer |
ByteArrayIndexer.put(long i,
long j,
byte b) |
ByteIndexer |
ByteArrayIndexer.put(long i,
long j,
byte[] b,
int offset,
int length) |
ByteIndexer |
ByteBufferIndexer.put(long i,
long j,
byte[] b,
int offset,
int length) |
abstract ByteIndexer |
ByteIndexer.put(long i,
long j,
byte[] b,
int offset,
int length)
Returns
this where array/buffer[index(i, j)] = b[offset:offset + length] |
ByteIndexer |
ByteRawIndexer.put(long i,
long j,
byte[] b,
int offset,
int length) |
ByteIndexer |
ByteRawIndexer.put(long i,
long j,
byte[] b,
int offset,
int length) |
abstract ByteIndexer |
ByteIndexer.put(long i,
long j,
byte[] b,
int offset,
int length)
Returns
this where array/buffer[index(i, j)] = b[offset:offset + length] |
ByteIndexer |
ByteBufferIndexer.put(long i,
long j,
byte[] b,
int offset,
int length) |
ByteIndexer |
ByteArrayIndexer.put(long i,
long j,
byte[] b,
int offset,
int length) |
ByteIndexer |
ByteArrayIndexer.put(long i,
long j,
long k,
byte b) |
ByteIndexer |
ByteBufferIndexer.put(long i,
long j,
long k,
byte b) |
abstract ByteIndexer |
ByteIndexer.put(long i,
long j,
long k,
byte b)
Returns
this where array/buffer[index(i, j, k)] = b |
ByteIndexer |
ByteRawIndexer.put(long i,
long j,
long k,
byte b) |
ByteIndexer |
ByteRawIndexer.put(long i,
long j,
long k,
byte b) |
abstract ByteIndexer |
ByteIndexer.put(long i,
long j,
long k,
byte b)
Returns
this where array/buffer[index(i, j, k)] = b |
ByteIndexer |
ByteBufferIndexer.put(long i,
long j,
long k,
byte b) |
ByteIndexer |
ByteArrayIndexer.put(long i,
long j,
long k,
byte b) |
ByteIndexer |
ByteIndexer.putBfloat16(long i,
float h)
Sets the
short value at array/buffer[i] , treated as bfloat16 |
ByteIndexer |
ByteIndexer.putBfloat16(long i,
float h)
Sets the
short value at array/buffer[i] , treated as bfloat16 |
ByteIndexer |
ByteIndexer.putBoolean(long i,
boolean b)
Sets the
boolean value at array/buffer[i] |
ByteIndexer |
ByteIndexer.putBoolean(long i,
boolean b)
Sets the
boolean value at array/buffer[i] |
ByteIndexer |
ByteArrayIndexer.putByte(long i,
byte b) |
ByteIndexer |
ByteBufferIndexer.putByte(long i,
byte b) |
abstract ByteIndexer |
ByteIndexer.putByte(long i,
byte b)
Sets the
byte value at array/buffer[i] |
ByteIndexer |
ByteRawIndexer.putByte(long i,
byte b) |
ByteIndexer |
ByteRawIndexer.putByte(long i,
byte b) |
abstract ByteIndexer |
ByteIndexer.putByte(long i,
byte b)
Sets the
byte value at array/buffer[i] |
ByteIndexer |
ByteBufferIndexer.putByte(long i,
byte b) |
ByteIndexer |
ByteArrayIndexer.putByte(long i,
byte b) |
ByteIndexer |
ByteArrayIndexer.putChar(long i,
char c) |
ByteIndexer |
ByteBufferIndexer.putChar(long i,
char c) |
abstract ByteIndexer |
ByteIndexer.putChar(long i,
char c)
Sets the
char value at array/buffer[i] |
ByteIndexer |
ByteRawIndexer.putChar(long i,
char c) |
ByteIndexer |
ByteRawIndexer.putChar(long i,
char c) |
abstract ByteIndexer |
ByteIndexer.putChar(long i,
char c)
Sets the
char value at array/buffer[i] |
ByteIndexer |
ByteBufferIndexer.putChar(long i,
char c) |
ByteIndexer |
ByteArrayIndexer.putChar(long i,
char c) |
ByteIndexer |
ByteIndexer.putDouble(long[] indices,
double b) |
ByteIndexer |
ByteIndexer.putDouble(long[] indices,
double b) |
ByteIndexer |
ByteArrayIndexer.putDouble(long i,
double d) |
ByteIndexer |
ByteBufferIndexer.putDouble(long i,
double d) |
abstract ByteIndexer |
ByteIndexer.putDouble(long i,
double d)
Sets the
double value at array/buffer[i] |
ByteIndexer |
ByteRawIndexer.putDouble(long i,
double d) |
ByteIndexer |
ByteRawIndexer.putDouble(long i,
double d) |
abstract ByteIndexer |
ByteIndexer.putDouble(long i,
double d)
Sets the
double value at array/buffer[i] |
ByteIndexer |
ByteBufferIndexer.putDouble(long i,
double d) |
ByteIndexer |
ByteArrayIndexer.putDouble(long i,
double d) |
ByteIndexer |
ByteArrayIndexer.putFloat(long i,
float f) |
ByteIndexer |
ByteBufferIndexer.putFloat(long i,
float f) |
abstract ByteIndexer |
ByteIndexer.putFloat(long i,
float f)
Sets the
float value at array/buffer[i] |
ByteIndexer |
ByteRawIndexer.putFloat(long i,
float f) |
ByteIndexer |
ByteRawIndexer.putFloat(long i,
float f) |
abstract ByteIndexer |
ByteIndexer.putFloat(long i,
float f)
Sets the
float value at array/buffer[i] |
ByteIndexer |
ByteBufferIndexer.putFloat(long i,
float f) |
ByteIndexer |
ByteArrayIndexer.putFloat(long i,
float f) |
ByteIndexer |
ByteIndexer.putHalf(long i,
float h)
Sets the
short value at array/buffer[i] , treated as half-precision float |
ByteIndexer |
ByteIndexer.putHalf(long i,
float h)
Sets the
short value at array/buffer[i] , treated as half-precision float |
ByteIndexer |
ByteArrayIndexer.putInt(long i,
int j) |
ByteIndexer |
ByteBufferIndexer.putInt(long i,
int j) |
abstract ByteIndexer |
ByteIndexer.putInt(long i,
int j)
Sets the
int value at array/buffer[i] |
ByteIndexer |
ByteRawIndexer.putInt(long i,
int j) |
ByteIndexer |
ByteRawIndexer.putInt(long i,
int j) |
abstract ByteIndexer |
ByteIndexer.putInt(long i,
int j)
Sets the
int value at array/buffer[i] |
ByteIndexer |
ByteBufferIndexer.putInt(long i,
int j) |
ByteIndexer |
ByteArrayIndexer.putInt(long i,
int j) |
ByteIndexer |
ByteArrayIndexer.putLong(long i,
long j) |
ByteIndexer |
ByteBufferIndexer.putLong(long i,
long j) |
abstract ByteIndexer |
ByteIndexer.putLong(long i,
long j)
Sets the
long value at array/buffer[i] |
ByteIndexer |
ByteRawIndexer.putLong(long i,
long j) |
ByteIndexer |
ByteRawIndexer.putLong(long i,
long j) |
abstract ByteIndexer |
ByteIndexer.putLong(long i,
long j)
Sets the
long value at array/buffer[i] |
ByteIndexer |
ByteBufferIndexer.putLong(long i,
long j) |
ByteIndexer |
ByteArrayIndexer.putLong(long i,
long j) |
ByteIndexer |
ByteRawIndexer.putRaw(long i,
byte b) |
ByteIndexer |
ByteRawIndexer.putRaw(long i,
byte b) |
ByteIndexer |
ByteArrayIndexer.putShort(long i,
short s) |
ByteIndexer |
ByteBufferIndexer.putShort(long i,
short s) |
abstract ByteIndexer |
ByteIndexer.putShort(long i,
short s)
Sets the
short value at array/buffer[i] |
ByteIndexer |
ByteRawIndexer.putShort(long i,
short s) |
ByteIndexer |
ByteRawIndexer.putShort(long i,
short s) |
abstract ByteIndexer |
ByteIndexer.putShort(long i,
short s)
Sets the
short value at array/buffer[i] |
ByteIndexer |
ByteBufferIndexer.putShort(long i,
short s) |
ByteIndexer |
ByteArrayIndexer.putShort(long i,
short s) |
ByteIndexer |
ByteIndexer.putUByte(long i,
int b)
Sets the
byte value at array/buffer[i] , treated as unsigned |
ByteIndexer |
ByteIndexer.putUByte(long i,
int b)
Sets the
byte value at array/buffer[i] , treated as unsigned |
ByteIndexer |
ByteIndexer.putUInt(long i,
long n)
Sets the
int value at array/buffer[i] , treated as unsigned |
ByteIndexer |
ByteIndexer.putUInt(long i,
long n)
Sets the
int value at array/buffer[i] , treated as unsigned |
ByteIndexer |
ByteIndexer.putULong(long i,
BigInteger l)
Sets the
long value at array/buffer[i] , treated as unsigned |
ByteIndexer |
ByteIndexer.putULong(long i,
BigInteger l)
Sets the
long value at array/buffer[i] , treated as unsigned |
ByteIndexer |
ByteIndexer.putUShort(long i,
int s)
Sets the
short value at array/buffer[i] , treated as unsigned |
ByteIndexer |
ByteIndexer.putUShort(long i,
int s)
Sets the
short value at array/buffer[i] , treated as unsigned |
ByteIndexer |
ByteArrayIndexer.reindex(Index index) |
ByteIndexer |
ByteBufferIndexer.reindex(Index index) |
ByteIndexer |
ByteRawIndexer.reindex(Index index) |
ByteIndexer |
ByteRawIndexer.reindex(Index index) |
ByteIndexer |
ByteBufferIndexer.reindex(Index index) |
ByteIndexer |
ByteArrayIndexer.reindex(Index index) |
Copyright © 2022. All rights reserved.