| Package | Description |
|---|---|
| mikera.indexz | |
| mikera.matrixx | |
| mikera.matrixx.impl | |
| mikera.transformz | |
| mikera.transformz.impl | |
| mikera.vectorz | |
| mikera.vectorz.impl |
| Modifier and Type | Method and Description |
|---|---|
Index |
Index.clone() |
Index |
Index.compose(AIndex a) |
Index |
AIndex.compose(AIndex a) |
Index |
Index.compose(Index a) |
static Index |
Indexz.create(List<Integer> data) |
static Index |
Indexz.createCopy(AIndex source) |
static Index |
Indexz.createLength(int length) |
static Index |
Indexz.createProgression(int start,
int length,
int skip) |
static Index |
Indexz.createRandomChoice(int count,
Index source) |
static Index |
Indexz.createRandomChoice(int count,
int max) |
static Index |
Indexz.createRandomPermutation(int length) |
static Index |
Indexz.createRandomSubset(AIndex index,
double probability)
Returns a random subset of an Index, including each element with the given probability
|
static Index |
Indexz.createRandomSubset(int length,
double probability) |
static Index |
Indexz.createSequence(int length) |
static Index |
Indexz.createSequence(int start,
int length) |
static Index |
Index.of(int... indexes)
Creates a new Index, using the specified index values
|
static Index |
Index.wrap(int[] indexes)
Creates a new Index, wrapping the provided index array
|
| Modifier and Type | Method and Description |
|---|---|
Index |
Index.compose(Index a) |
boolean |
AIndex.contains(Index inds) |
static Index |
Indexz.createRandomChoice(int count,
Index source) |
boolean |
Index.equals(Index o) |
void |
Index.lookupWith(Index source) |
void |
Index.permute(Index permutationIndex)
Permutes this vector according to a given permutation index
|
| Modifier and Type | Method and Description |
|---|---|
static AMatrix |
Matrixx.createSparse(int inputDims,
Index[] indexes,
AVector[] weights) |
| Modifier and Type | Method and Description |
|---|---|
static SubsetMatrix |
SubsetMatrix.create(Index components,
int inputDimensions) |
| Constructor and Description |
|---|
PermutedMatrix(AMatrix source,
Index rowPermutations) |
PermutedMatrix(AMatrix source,
Index rowPermutations,
Index columnPermutations) |
| Modifier and Type | Method and Description |
|---|---|
ATransform |
ATransform.takeComponents(Index components)
Returns a wrapper transform that returns a subset of this transform's output components
|
| Modifier and Type | Method and Description |
|---|---|
static SubsetTransform |
SubsetTransform.create(ATransform trans,
Index components) |
static SubsetTransform |
SubsetTransform.create(SubsetTransform trans,
Index components) |
| Modifier and Type | Method and Description |
|---|---|
void |
AVector.addMultiple(AVector source,
Index sourceToDest,
double factor)
Adds source vector to this vector at the specified indexes which should map from source->this
|
void |
AVector.addMultiple(Index destToSource,
AVector source,
double factor)
Adds to this vector at taking values from source at the specified indexes which should map from this->source
|
void |
Vector.addMultiple(Index destToSource,
Vector source,
double factor) |
void |
AVector.addMultiple(Index destToSource,
Vector source,
double factor)
Adds to this vector at taking values from source at the specified indexes which should map from this->source
|
void |
Vector.addMultiple(Vector source,
Index index,
double factor) |
void |
AVector.addMultiple(Vector source,
Index sourceToDest,
double factor)
Adds source vector to this vector at the specified indexes which should map from source->this
|
double |
Vector.dotProduct(AVector v,
Index ix) |
double |
AVector.dotProduct(AVector v,
Index ix) |
double |
Vector.dotProduct(Vector v,
Index ix) |
void |
AVector.set(AVector v,
Index indexes)
sets the vector using values indexed from another vector
|
| Modifier and Type | Field and Description |
|---|---|
Index |
SparseIndexedVector.index |
| Modifier and Type | Method and Description |
|---|---|
Index |
SparseIndexedVector.nonSparseIndexes() |
abstract Index |
ASparseVector.nonSparseIndexes()
Returns the non-sparse indexes
|
| Modifier and Type | Method and Description |
|---|---|
static SparseIndexedVector |
SparseIndexedVector.create(int length,
Index index,
AVector data) |
static SparseIndexedVector |
SparseIndexedVector.create(int length,
Index index,
double[] data) |
static SparseIndexedVector |
SparseIndexedVector.wrap(int length,
Index index,
double[] data)
Creates a SparseIndexedVector with the specified index and data values.
|
Copyright © 2013. All Rights Reserved.