| Package | Description |
|---|---|
| org.kramerlab.bmad.matrix |
Contains implementations of elementary data structures, required to
perform boolean matrix decompositions: matrices.
|
| Modifier and Type | Method and Description |
|---|---|
static <X> RowMajor<X> |
RowMajor.asColumnVector(ArrayList<X> list) |
static <X> RowMajor<X> |
RowMajor.asRowVector(ArrayList<X> list) |
<Y> RowMajor<Y> |
RowMajor.flatMap(Function<X,RowMajor<Y>> f)
A dense matrix flatMap, that is done about right: it
makes real effort not to calculate anything twice,
not to allocate more space than necessary, and not to use
dynamic memory allocation of arrayLists, which copies
entries under the hood.
|
<Y> RowMajor<Y> |
RowMajor.map(Function<X,Y> f)
Creates new matrix, where each entry is mapped by the function f
|
<Y> RowMajor<Y> |
RowMajor.mapWithIndices(Function<Tuple<X,Tuple<Integer,Integer>>,Y> f)
Pointwise application of a function that can depend on the value and
the index.
|
RowMajor<Byte> |
BooleanMatrix.toRowMajor()
Transforms this matrix to a generic matrix.
|
| Modifier and Type | Method and Description |
|---|---|
<Y> RowMajor<Y> |
RowMajor.flatMap(Function<X,RowMajor<Y>> f)
A dense matrix flatMap, that is done about right: it
makes real effort not to calculate anything twice,
not to allocate more space than necessary, and not to use
dynamic memory allocation of arrayLists, which copies
entries under the hood.
|
Copyright © 2015. All rights reserved.