Package | Description |
---|---|
org.shared.array.jni |
A package for providing JNI-backed
Array operations. |
org.shared.array.kernel |
A package for basic operations on
Array s. |
org.shared.array.sparse |
A package of multidimensional sparse arrays.
|
Modifier and Type | Method and Description |
---|---|
<V> SparseArrayState<V> |
NativeArrayKernel.insertSparse(V oldV,
int[] oldD,
int[] oldS,
int[] oldDo,
int[] oldI,
V newV,
int[] newLi) |
<V> SparseArrayState<V> |
NativeArrayKernel.sliceSparse(int[] slices,
V srcV,
int[] srcD,
int[] srcS,
int[] srcDo,
int[] srcI,
int[] srcIo,
int[] srcIi,
V dstV,
int[] dstD,
int[] dstS,
int[] dstDo,
int[] dstI,
int[] dstIo,
int[] dstIi) |
Modifier and Type | Method and Description |
---|---|
static <V> SparseArrayState<V> |
SparseOps.assign(V oldV,
V newV,
int[][] mergeResult)
Aggregates old values, new values, and their assignments into a
SparseArrayState . |
static <V> SparseArrayState<V> |
SparseOps.insert(V oldV,
int[] oldD,
int[] oldS,
int[] oldDo,
int[] oldI,
V newV,
int[] newI)
An insertion operation in support of
JavaArrayKernel.insertSparse(Object, int[], int[], int[], int[], Object, int[]) . |
<V> SparseArrayState<V> |
ArrayKernel.insertSparse(V oldV,
int[] oldD,
int[] oldS,
int[] oldDo,
int[] oldI,
V newV,
int[] newI)
Inserts elements into a sparse array.
|
<V> SparseArrayState<V> |
JavaArrayKernel.insertSparse(V oldV,
int[] oldD,
int[] oldS,
int[] oldDo,
int[] oldI,
V newV,
int[] newI) |
<V> SparseArrayState<V> |
ModalArrayKernel.insertSparse(V oldV,
int[] oldD,
int[] oldS,
int[] oldDo,
int[] oldI,
V newV,
int[] newI) |
static <V> SparseArrayState<V> |
SparseOps.slice(int[] slices,
V srcV,
int[] srcD,
int[] srcS,
int[] srcDo,
int[] srcI,
int[] srcIo,
int[] srcIi,
V dstV,
int[] dstD,
int[] dstS,
int[] dstDo,
int[] dstI,
int[] dstIo,
int[] dstIi)
A slicing operation in support of
JavaArrayKernel.sliceSparse(int[], Object, int[], int[], int[], int[], int[], int[], Object, int[], int[], int[], int[], int[], int[])
. |
<V> SparseArrayState<V> |
ArrayKernel.sliceSparse(int[] slices,
V srcV,
int[] srcD,
int[] srcS,
int[] srcDo,
int[] srcI,
int[] srcIo,
int[] srcIi,
V dstV,
int[] dstD,
int[] dstS,
int[] dstDo,
int[] dstI,
int[] dstIo,
int[] dstIi)
Slices one sparse array into another.
|
<V> SparseArrayState<V> |
JavaArrayKernel.sliceSparse(int[] slices,
V srcV,
int[] srcD,
int[] srcS,
int[] srcDo,
int[] srcI,
int[] srcIo,
int[] srcIi,
V dstV,
int[] dstD,
int[] dstS,
int[] dstDo,
int[] dstI,
int[] dstIo,
int[] dstIi) |
<V> SparseArrayState<V> |
ModalArrayKernel.sliceSparse(int[] slices,
V srcV,
int[] srcD,
int[] srcS,
int[] srcDo,
int[] srcI,
int[] srcIo,
int[] srcIi,
V dstV,
int[] dstD,
int[] dstS,
int[] dstDo,
int[] dstI,
int[] dstIo,
int[] dstIi) |
Modifier and Type | Field and Description |
---|---|
protected SparseArrayState<V> |
ProtoSparseArray.state
The
SparseArrayState . |
Modifier and Type | Method and Description |
---|---|
protected RealSparseArray |
RealSparseArray.wrap(SparseArrayState<double[]> state,
int[] dims,
int[] strides,
int[] dimOffsets) |
protected IntegerSparseArray |
IntegerSparseArray.wrap(SparseArrayState<int[]> state,
int[] dims,
int[] strides,
int[] dimOffsets) |
protected ObjectSparseArray<T> |
ObjectSparseArray.wrap(SparseArrayState<T[]> state,
int[] dims,
int[] strides,
int[] dimOffsets) |
protected abstract T |
ProtoSparseArray.wrap(SparseArrayState<V> state,
int[] dims,
int[] strides,
int[] dimOffsets)
Allocates a new array.
|
Constructor and Description |
---|
IntegerSparseArray(SparseArrayState<int[]> state,
int[] dims,
int[] strides,
int[] dimOffsets)
Internal constructor for package use only.
|
ObjectSparseArray(SparseArrayState<T[]> state,
int[] dims,
int[] strides,
int[] dimOffsets)
Internal constructor for package use only.
|
ProtoSparseArray(SparseArrayState<V> state,
int[] dims,
int[] strides,
int[] dimOffsets)
Default constructor.
|
RealSparseArray(SparseArrayState<double[]> state,
int[] dims,
int[] strides,
int[] dimOffsets)
Internal constructor for package use only.
|