| Package | Description |
|---|---|
| org.bytedeco.javacpp |
Contains the main set of classes for JavaCPP at runtime.
|
| org.bytedeco.javacpp.indexer |
Contains classes for multidimensional access of arrays and buffers.
|
| Modifier and Type | Method and Description |
|---|---|
DoublePointer |
DoublePointer.capacity(long capacity) |
DoublePointer |
DoublePointer.get(double[] array) |
DoublePointer |
DoublePointer.get(double[] array,
int offset,
int length)
Reads a portion of the native array into a Java array.
|
DoublePointer |
DoublePointer.limit(long limit) |
DoublePointer |
DoublePointer.position(long position) |
DoublePointer |
DoublePointer.put(double... array) |
DoublePointer |
DoublePointer.put(double d) |
DoublePointer |
DoublePointer.put(double[] array,
int offset,
int length)
Writes a portion of a Java array into the native array.
|
DoublePointer |
DoublePointer.put(long i,
double d)
Copies the
double value to the i-th element of a native array. |
| Modifier and Type | Field and Description |
|---|---|
protected DoublePointer |
DoubleRawIndexer.pointer
The backing pointer.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
| Constructor and Description |
|---|
DoubleRawIndexer(DoublePointer pointer)
Calls
DoubleRawIndexer(pointer, { pointer.limit() - pointer.position() }, { 1 }). |
DoubleRawIndexer(DoublePointer pointer,
long[] sizes,
long[] strides)
|
Copyright © 2018. All rights reserved.