T - public class RealCompositeMatrix<T extends RealType<T>> extends Object implements Access2D<Double>, Access2D.Collectable<Double,PhysicalStore<Double>>
Access2D.Aggregatable<N extends Number>, Access2D.Collectable<N extends Number,R extends Mutate2D.Receiver<N>>, Access2D.Elements, Access2D.ElementView<N extends Number>, Access2D.IndexOf, Access2D.Sliceable<N extends Number>, Access2D.Visitable<N extends Number>Structure2D.IntRowColumn, Structure2D.LongRowColumn, Structure2D.ReducibleTo1D<R extends Structure1D>, Structure2D.RowColumnCallback, Structure2D.RowColumnKey<R,C>, Structure2D.RowColumnMapper<R,C>Structure1D.BasicMapper<T>, Structure1D.IndexCallback, Structure1D.IndexMapper<T>, Structure1D.IntIndex, Structure1D.LongIndex, Structure1D.LoopCallback| Modifier and Type | Field and Description |
|---|---|
protected Composite<T> |
data |
protected int |
length |
protected int |
nCols |
protected int |
nRows |
| Modifier | Constructor and Description |
|---|---|
|
RealCompositeMatrix(Composite<T> data,
int nRows,
int nCols) |
protected |
RealCompositeMatrix(Composite<T> data,
int nRows,
int nCols,
int length) |
| Modifier and Type | Method and Description |
|---|---|
long |
countColumns() |
long |
countRows() |
double |
doubleValue(long row,
long col) |
Double |
get(long row,
long col) |
long |
rowAndColumnToLinear(long row,
long col) |
void |
setData(Composite<T> data) |
void |
supplyTo(PhysicalStore<Double> receiver) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitasCollectable2D, asPrimitive2D, columns, doubleValue, elements, equals, get, newPrimitiveColumnCollectable, newPrimitiveRowCollectable, rows, toRawCopy2D, toString, wrap, wrap, wrapAccess2D, wrapAccess2DasCollectable1D, asPrimitive1D, axpy, dot, equals, hashCode, iterator, nonzeros, stream, supplyTo, toRawCopy1D, wrap, wrap, wrap, wrapAccess1D, wrapAccess1D, wrapAccess1DforEach, spliteratorcollectcolumn, column, column, column, column, count, index, index, isEmpty, isFat, isScalar, isSquare, isTall, isVector, loopAll, loopColumn, loopColumn, loopDiagonal, loopMatching, loopRow, loopRow, mapperOf, row, row, row, row, rowloopAll, loopMatching, loopRange, mapperprotected final int nRows
protected final int nCols
protected final int length
public long rowAndColumnToLinear(long row,
long col)
public long countColumns()
countColumns in interface Structure2Dpublic long countRows()
countRows in interface Structure2Dpublic void supplyTo(PhysicalStore<Double> receiver)
supplyTo in interface Access2D.Collectable<Double,PhysicalStore<Double>>public double doubleValue(long row,
long col)
doubleValue in interface Access2D<Double>Copyright © 2009–2024 ImgLib2. All rights reserved.