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 |
---|---|
FloatPointer |
FloatPointer.capacity(long capacity) |
FloatPointer |
FloatPointer.get(float[] array) |
FloatPointer |
FloatPointer.get(float[] array,
int offset,
int length)
Reads a portion of the native array into a Java array.
|
FloatPointer |
FloatPointer.limit(long limit) |
FloatPointer |
FloatPointer.position(long position) |
FloatPointer |
FloatPointer.put(float... array) |
FloatPointer |
FloatPointer.put(float f) |
FloatPointer |
FloatPointer.put(float[] array,
int offset,
int length)
Writes a portion of a Java array into the native array.
|
FloatPointer |
FloatPointer.put(long i,
float f)
Copies the
float value to the i-th element of a native array. |
Modifier and Type | Field and Description |
---|---|
protected FloatPointer |
FloatRawIndexer.pointer
The backing pointer.
|
Modifier and Type | Method and Description |
---|---|
static FloatIndexer |
FloatIndexer.create(FloatPointer pointer)
Returns
create(pointer, { pointer.limit() - pointer.position() }, { 1 }, true) |
static FloatIndexer |
FloatIndexer.create(FloatPointer pointer,
long[] sizes,
long[] strides)
Returns
create(pointer, sizes, strides, true) |
static FloatIndexer |
FloatIndexer.create(FloatPointer pointer,
long[] sizes,
long[] strides,
boolean direct)
Creates a float indexer to access efficiently the data of a pointer.
|
Constructor and Description |
---|
FloatRawIndexer(FloatPointer pointer)
Calls
FloatRawIndexer(pointer, { pointer.limit() - pointer.position() }, { 1 }) . |
FloatRawIndexer(FloatPointer pointer,
long[] sizes,
long[] strides)
|
Copyright © 2016. All rights reserved.