T
- public class RealCompositeMatrix<T extends RealType<T>> extends Object implements org.ojalgo.access.Access2D<Double>, org.ojalgo.access.Access2D.Collectable<Double,PhysicalStore<Double>>
org.ojalgo.access.Access2D.Aggregatable<N extends Number>, org.ojalgo.access.Access2D.Collectable<N extends Number,R extends org.ojalgo.access.Mutate2D.Receiver<N>>, org.ojalgo.access.Access2D.Elements, org.ojalgo.access.Access2D.ElementView<N extends Number>, org.ojalgo.access.Access2D.IndexOf, org.ojalgo.access.Access2D.Sliceable<N extends Number>, org.ojalgo.access.Access2D.Visitable<N extends Number>
org.ojalgo.access.Structure2D.IntRowColumn, org.ojalgo.access.Structure2D.LongRowColumn, org.ojalgo.access.Structure2D.ReducibleTo1D<R extends org.ojalgo.access.Structure1D>, org.ojalgo.access.Structure2D.RowColumnCallback, org.ojalgo.access.Structure2D.RowColumnKey<R,C>, org.ojalgo.access.Structure2D.RowColumnMapper<R,C>
org.ojalgo.access.Structure1D.BasicMapper<T>, org.ojalgo.access.Structure1D.IndexCallback, org.ojalgo.access.Structure1D.IndexMapper<T>, org.ojalgo.access.Structure1D.IntIndex, org.ojalgo.access.Structure1D.LongIndex, org.ojalgo.access.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, wait
asCollectable2D, asPrimitive2D, columns, doubleValue, elements, equals, get, newPrimitiveColumnCollectable, newPrimitiveRowCollectable, rows, toRawCopy2D, toString, wrap, wrap, wrapAccess2D, wrapAccess2D
asCollectable1D, asPrimitive1D, axpy, dot, equals, hashCode, iterator, nonzeros, stream, supplyTo, toRawCopy1D, wrap, wrap, wrap, wrapAccess1D, wrapAccess1D, wrapAccess1D
forEach, spliterator
collect
column, 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, row
loopAll, loopMatching, loopRange, mapper
protected final int nRows
protected final int nCols
protected final int length
public long rowAndColumnToLinear(long row, long col)
public long countColumns()
countColumns
in interface org.ojalgo.access.Structure2D
public long countRows()
countRows
in interface org.ojalgo.access.Structure2D
public void supplyTo(PhysicalStore<Double> receiver)
supplyTo
in interface org.ojalgo.access.Access2D.Collectable<Double,PhysicalStore<Double>>
public double doubleValue(long row, long col)
doubleValue
in interface org.ojalgo.access.Access2D<Double>
public Double get(long row, long col)
get
in interface org.ojalgo.access.Access2D<Double>
Copyright © 2015–2022 ImgLib2. All rights reserved.