Package | Description |
---|---|
org.bytedeco.javacpp.indexer |
Contains classes for multidimensional access of arrays and buffers.
|
Modifier and Type | Class and Description |
---|---|
class |
DoubleArrayIndexer
An indexer for a
double[] array. |
class |
DoubleBufferIndexer
An indexer for a
DoubleBuffer . |
class |
DoubleRawIndexer
An indexer for a
DoublePointer using the Raw instance. |
Modifier and Type | Method and Description |
---|---|
static DoubleIndexer |
DoubleIndexer.create(double[] array)
Returns
new DoubleArrayIndexer(array) |
static DoubleIndexer |
DoubleIndexer.create(double[] array,
long[] sizes,
long[] strides)
Returns
new DoubleArrayIndexer(array, sizes, strides) |
static DoubleIndexer |
DoubleIndexer.create(DoubleBuffer buffer)
Returns
new DoubleBufferIndexer(buffer) |
static DoubleIndexer |
DoubleIndexer.create(DoubleBuffer buffer,
long[] sizes,
long[] strides)
Returns
new DoubleBufferIndexer(buffer, sizes, strides) |
static DoubleIndexer |
DoubleIndexer.create(DoublePointer pointer)
Returns
create(pointer, { pointer.limit() - pointer.position() }, { 1 }, true) |
static DoubleIndexer |
DoubleIndexer.create(DoublePointer pointer,
long[] sizes,
long[] strides)
Returns
create(pointer, sizes, strides, true) |
static DoubleIndexer |
DoubleIndexer.create(DoublePointer pointer,
long[] sizes,
long[] strides,
boolean direct)
Creates a double indexer to access efficiently the data of a pointer.
|
DoubleIndexer |
DoubleIndexer.get(long[] indices,
double[] d)
Returns
this where d = array/buffer[index(indices)] |
DoubleIndexer |
DoubleRawIndexer.get(long[] indices,
double[] d,
int offset,
int length) |
DoubleIndexer |
DoubleArrayIndexer.get(long[] indices,
double[] d,
int offset,
int length) |
abstract DoubleIndexer |
DoubleIndexer.get(long[] indices,
double[] d,
int offset,
int length)
Returns
this where d[offset:offset + length] = array/buffer[index(indices)] |
DoubleIndexer |
DoubleBufferIndexer.get(long[] indices,
double[] d,
int offset,
int length) |
DoubleIndexer |
DoubleIndexer.get(long i,
double[] d)
Returns
this where d = array/buffer[i] |
DoubleIndexer |
DoubleRawIndexer.get(long i,
double[] d,
int offset,
int length) |
DoubleIndexer |
DoubleArrayIndexer.get(long i,
double[] d,
int offset,
int length) |
abstract DoubleIndexer |
DoubleIndexer.get(long i,
double[] d,
int offset,
int length)
Returns
this where d[offset:offset + length] = array/buffer[i] |
DoubleIndexer |
DoubleBufferIndexer.get(long i,
double[] d,
int offset,
int length) |
DoubleIndexer |
DoubleIndexer.get(long i,
long j,
double[] d)
Returns
this where d = array/buffer[i * strides[0] + j] |
DoubleIndexer |
DoubleRawIndexer.get(long i,
long j,
double[] d,
int offset,
int length) |
DoubleIndexer |
DoubleArrayIndexer.get(long i,
long j,
double[] d,
int offset,
int length) |
abstract DoubleIndexer |
DoubleIndexer.get(long i,
long j,
double[] d,
int offset,
int length)
Returns
this where d[offset:offset + length] = array/buffer[i * strides[0] + j] |
DoubleIndexer |
DoubleBufferIndexer.get(long i,
long j,
double[] d,
int offset,
int length) |
DoubleIndexer |
DoubleIndexer.put(long[] indices,
double... d)
Returns
this where array/buffer[index(indices)] = d |
DoubleIndexer |
DoubleRawIndexer.put(long[] indices,
double d) |
DoubleIndexer |
DoubleArrayIndexer.put(long[] indices,
double d) |
abstract DoubleIndexer |
DoubleIndexer.put(long[] indices,
double d)
Returns
this where array/buffer[index(indices)] = d |
DoubleIndexer |
DoubleBufferIndexer.put(long[] indices,
double d) |
DoubleIndexer |
DoubleRawIndexer.put(long[] indices,
double[] d,
int offset,
int length) |
DoubleIndexer |
DoubleArrayIndexer.put(long[] indices,
double[] d,
int offset,
int length) |
abstract DoubleIndexer |
DoubleIndexer.put(long[] indices,
double[] d,
int offset,
int length)
Returns
this where array/buffer[index(indices)] = d[offset:offset + length] |
DoubleIndexer |
DoubleBufferIndexer.put(long[] indices,
double[] d,
int offset,
int length) |
DoubleIndexer |
DoubleIndexer.put(long i,
double... d)
Returns
this where array/buffer[i] = d |
DoubleIndexer |
DoubleRawIndexer.put(long i,
double d) |
DoubleIndexer |
DoubleArrayIndexer.put(long i,
double d) |
abstract DoubleIndexer |
DoubleIndexer.put(long i,
double d)
Returns
this where array/buffer[i] = d |
DoubleIndexer |
DoubleBufferIndexer.put(long i,
double d) |
DoubleIndexer |
DoubleRawIndexer.put(long i,
double[] d,
int offset,
int length) |
DoubleIndexer |
DoubleArrayIndexer.put(long i,
double[] d,
int offset,
int length) |
abstract DoubleIndexer |
DoubleIndexer.put(long i,
double[] d,
int offset,
int length)
Returns
this where array/buffer[i] = d[offset:offset + length] |
DoubleIndexer |
DoubleBufferIndexer.put(long i,
double[] d,
int offset,
int length) |
DoubleIndexer |
DoubleIndexer.put(long i,
long j,
double... d)
Returns
this where array/buffer[i * strides[0] + j] = d |
DoubleIndexer |
DoubleRawIndexer.put(long i,
long j,
double d) |
DoubleIndexer |
DoubleArrayIndexer.put(long i,
long j,
double d) |
abstract DoubleIndexer |
DoubleIndexer.put(long i,
long j,
double d)
Returns
this where array/buffer[i * strides[0] + j] = d |
DoubleIndexer |
DoubleBufferIndexer.put(long i,
long j,
double d) |
DoubleIndexer |
DoubleRawIndexer.put(long i,
long j,
double[] d,
int offset,
int length) |
DoubleIndexer |
DoubleArrayIndexer.put(long i,
long j,
double[] d,
int offset,
int length) |
abstract DoubleIndexer |
DoubleIndexer.put(long i,
long j,
double[] d,
int offset,
int length)
Returns
this where array/buffer[i * strides[0] + j] = d[offset:offset + length] |
DoubleIndexer |
DoubleBufferIndexer.put(long i,
long j,
double[] d,
int offset,
int length) |
DoubleIndexer |
DoubleRawIndexer.put(long i,
long j,
long k,
double d) |
DoubleIndexer |
DoubleArrayIndexer.put(long i,
long j,
long k,
double d) |
abstract DoubleIndexer |
DoubleIndexer.put(long i,
long j,
long k,
double d)
Returns
this where array/buffer[i * strides[0] + j * strides[1] + k] = d |
DoubleIndexer |
DoubleBufferIndexer.put(long i,
long j,
long k,
double d) |
DoubleIndexer |
DoubleIndexer.putDouble(long[] indices,
double d) |
Copyright © 2016. All rights reserved.