Package | Description |
---|---|
org.bytedeco.javacpp.indexer |
Contains classes for multidimensional access of arrays and buffers.
|
Modifier and Type | Class and Description |
---|---|
class |
UByteArrayIndexer
An indexer for a
byte[] array, treated as unsigned. |
class |
UByteBufferIndexer
An indexer for a
ByteBuffer , treated as unsigned. |
class |
UByteRawIndexer
An indexer for a
BytePointer using the Raw instance, treated as unsigned. |
Modifier and Type | Method and Description |
---|---|
static UByteIndexer |
UByteIndexer.create(byte[] array)
Returns
new ByteArrayIndexer(array) |
static UByteIndexer |
UByteIndexer.create(byte[] array,
long... sizes)
Returns
new UByteArrayIndexer(array, sizes) |
static UByteIndexer |
UByteIndexer.create(byte[] array,
long[] sizes,
long[] strides)
Returns
new ByteArrayIndexer(array, sizes, strides) |
static UByteIndexer |
UByteIndexer.create(ByteBuffer buffer)
Returns
new ByteBufferIndexer(buffer) |
static UByteIndexer |
UByteIndexer.create(ByteBuffer buffer,
long... sizes)
Returns
new UByteBufferIndexer(buffer, sizes) |
static UByteIndexer |
UByteIndexer.create(ByteBuffer buffer,
long[] sizes,
long[] strides)
Returns
new ByteBufferIndexer(buffer, sizes, strides) |
static UByteIndexer |
UByteIndexer.create(BytePointer pointer)
Returns
create(pointer, { pointer.limit() - pointer.position() }, { 1 }, true) |
static UByteIndexer |
UByteIndexer.create(BytePointer pointer,
long... sizes)
Returns
create(pointer, sizes, strides(sizes)) |
static UByteIndexer |
UByteIndexer.create(BytePointer pointer,
long[] sizes,
long[] strides)
Returns
create(pointer, sizes, strides, true) |
static UByteIndexer |
UByteIndexer.create(BytePointer pointer,
long[] sizes,
long[] strides,
boolean direct)
Creates a byte indexer to access efficiently the data of a pointer.
|
UByteIndexer |
UByteIndexer.get(long[] indices,
int[] b)
Returns
this where b = array/buffer[index(indices)] |
UByteIndexer |
UByteBufferIndexer.get(long[] indices,
int[] b,
int offset,
int length) |
UByteIndexer |
UByteArrayIndexer.get(long[] indices,
int[] b,
int offset,
int length) |
UByteIndexer |
UByteRawIndexer.get(long[] indices,
int[] b,
int offset,
int length) |
abstract UByteIndexer |
UByteIndexer.get(long[] indices,
int[] b,
int offset,
int length)
Returns
this where b[offset:offset + length] = array/buffer[index(indices)] |
UByteIndexer |
UByteIndexer.get(long i,
int[] b)
Returns
this where b = array/buffer[i] |
UByteIndexer |
UByteBufferIndexer.get(long i,
int[] b,
int offset,
int length) |
UByteIndexer |
UByteArrayIndexer.get(long i,
int[] b,
int offset,
int length) |
UByteIndexer |
UByteRawIndexer.get(long i,
int[] b,
int offset,
int length) |
abstract UByteIndexer |
UByteIndexer.get(long i,
int[] b,
int offset,
int length)
Returns
this where b[offset:offset + length] = array/buffer[i] |
UByteIndexer |
UByteIndexer.get(long i,
long j,
int[] b)
Returns
this where b = array/buffer[i * strides[0] + j] |
UByteIndexer |
UByteBufferIndexer.get(long i,
long j,
int[] b,
int offset,
int length) |
UByteIndexer |
UByteArrayIndexer.get(long i,
long j,
int[] b,
int offset,
int length) |
UByteIndexer |
UByteRawIndexer.get(long i,
long j,
int[] b,
int offset,
int length) |
abstract UByteIndexer |
UByteIndexer.get(long i,
long j,
int[] b,
int offset,
int length)
Returns
this where b[offset:offset + length] = array/buffer[i * strides[0] + j] |
UByteIndexer |
UByteIndexer.put(long[] indices,
int... b)
Returns
this where array/buffer[index(indices)] = b |
UByteIndexer |
UByteBufferIndexer.put(long[] indices,
int b) |
UByteIndexer |
UByteArrayIndexer.put(long[] indices,
int b) |
UByteIndexer |
UByteRawIndexer.put(long[] indices,
int b) |
abstract UByteIndexer |
UByteIndexer.put(long[] indices,
int b)
Returns
this where array/buffer[index(indices)] = b |
UByteIndexer |
UByteBufferIndexer.put(long[] indices,
int[] b,
int offset,
int length) |
UByteIndexer |
UByteArrayIndexer.put(long[] indices,
int[] b,
int offset,
int length) |
UByteIndexer |
UByteRawIndexer.put(long[] indices,
int[] b,
int offset,
int length) |
abstract UByteIndexer |
UByteIndexer.put(long[] indices,
int[] b,
int offset,
int length)
Returns
this where array/buffer[index(indices)] = b[offset:offset + length] |
UByteIndexer |
UByteIndexer.put(long i,
int... b)
Returns
this where array/buffer[i] = b |
UByteIndexer |
UByteBufferIndexer.put(long i,
int b) |
UByteIndexer |
UByteArrayIndexer.put(long i,
int b) |
UByteIndexer |
UByteRawIndexer.put(long i,
int b) |
abstract UByteIndexer |
UByteIndexer.put(long i,
int b)
Returns
this where array/buffer[i] = b |
UByteIndexer |
UByteBufferIndexer.put(long i,
int[] b,
int offset,
int length) |
UByteIndexer |
UByteArrayIndexer.put(long i,
int[] b,
int offset,
int length) |
UByteIndexer |
UByteRawIndexer.put(long i,
int[] b,
int offset,
int length) |
abstract UByteIndexer |
UByteIndexer.put(long i,
int[] b,
int offset,
int length)
Returns
this where array/buffer[i] = b[offset:offset + length] |
UByteIndexer |
UByteIndexer.put(long i,
long j,
int... b)
Returns
this where array/buffer[i * strides[0] + j] = b |
UByteIndexer |
UByteBufferIndexer.put(long i,
long j,
int b) |
UByteIndexer |
UByteArrayIndexer.put(long i,
long j,
int b) |
UByteIndexer |
UByteRawIndexer.put(long i,
long j,
int b) |
abstract UByteIndexer |
UByteIndexer.put(long i,
long j,
int b)
Returns
this where array/buffer[i * strides[0] + j] = b |
UByteIndexer |
UByteBufferIndexer.put(long i,
long j,
int[] b,
int offset,
int length) |
UByteIndexer |
UByteArrayIndexer.put(long i,
long j,
int[] b,
int offset,
int length) |
UByteIndexer |
UByteRawIndexer.put(long i,
long j,
int[] b,
int offset,
int length) |
abstract UByteIndexer |
UByteIndexer.put(long i,
long j,
int[] b,
int offset,
int length)
Returns
this where array/buffer[i * strides[0] + j] = b[offset:offset + length] |
UByteIndexer |
UByteBufferIndexer.put(long i,
long j,
long k,
int b) |
UByteIndexer |
UByteArrayIndexer.put(long i,
long j,
long k,
int b) |
UByteIndexer |
UByteRawIndexer.put(long i,
long j,
long k,
int b) |
abstract UByteIndexer |
UByteIndexer.put(long i,
long j,
long k,
int b)
Returns
this where array/buffer[i * strides[0] + j * strides[1] + k] = b |
UByteIndexer |
UByteIndexer.putDouble(long[] indices,
double b) |
Copyright © 2020. All rights reserved.