public final class ColumnsSupplier<N extends Number> extends Object implements Access2D<N>, ElementsSupplier<N>
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 | Method and Description |
|---|---|
SparseArray<N> |
addColumn() |
void |
addColumns(int numberToAdd) |
long |
countColumns() |
long |
countRows() |
double |
doubleValue(long row,
long col)
Extracts one element of this matrix as a double.
|
N |
get(long row,
long col) |
SparseArray<N> |
getColumn(int index) |
PhysicalStore.Factory<N,?> |
physical() |
Access1D<N> |
removeColumn(int index) |
ColumnsSupplier<N> |
selectColumns(int[] indices) |
void |
supplyTo(ElementsConsumer<N> 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, spliteratorget, operateOnAll, operateOnMatching, operateOnMatching, transposeoperateOnAll, operateOnAll, operateOnAll, operateOnAll, operateOnAllcollectcolumn, column, column, column, column, index, index, isEmpty, isFat, isScalar, isSquare, isTall, isVector, loopAll, loopColumn, loopColumn, loopDiagonal, loopMatching, loopRow, loopRow, mapperOf, row, row, row, row, rowloopAll, loopMatching, loopRange, mapperpublic SparseArray<N> addColumn()
public void addColumns(int numberToAdd)
public long countColumns()
countColumns in interface Structure2Dpublic long countRows()
countRows in interface Structure2Dpublic double doubleValue(long row,
long col)
Access2DdoubleValue in interface Access2D<N extends Number>row - A row index.col - A column index.public SparseArray<N> getColumn(int index)
public PhysicalStore.Factory<N,?> physical()
physical in interface ElementsSupplier<N extends Number>public ColumnsSupplier<N> selectColumns(int[] indices)
public void supplyTo(ElementsConsumer<N> receiver)
supplyTo in interface Access2D.Collectable<N extends Number,ElementsConsumer<N extends Number>>Copyright © 2018 Optimatika. All rights reserved.