public class ColumnView<N extends Number> extends Object implements Access1D<N>, Iterator<ColumnView<N>>
Access1D.Aggregatable<N extends Number>, Access1D.Collectable<N extends Number,R extends Mutate1D.Receiver<N>>, Access1D.Elements, Access1D.ElementView<N extends Number>, Access1D.IndexOf, Access1D.Sliceable<N extends Number>, Access1D.Visitable<N extends Number>
Structure1D.BasicMapper<T>, Structure1D.IndexCallback, Structure1D.IndexMapper<T>, Structure1D.IntIndex, Structure1D.LongIndex, Structure1D.LoopCallback
Modifier | Constructor and Description |
---|---|
protected |
ColumnView(Access2D<N> access) |
Modifier and Type | Method and Description |
---|---|
long |
column() |
long |
count() |
double |
doubleValue(long index) |
N |
get(long index) |
boolean |
hasNext() |
boolean |
hasPrevious() |
static <S extends Number> |
makeIterable(Access2D<S> access) |
ColumnView<N> |
next() |
ColumnView<N> |
previous() |
void |
remove() |
protected void |
setColumn(long column) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
asCollectable1D, asPrimitive1D, axpy, dot, elements, equals, hashCode, iterator, nonzeros, stream, supplyTo, toRawCopy1D, wrap, wrap, wrap, wrapAccess1D, wrapAccess1D, wrapAccess1D
loopAll, loopMatching, loopRange, mapper
forEach, spliterator
forEachRemaining
public static <S extends Number> Iterable<ColumnView<S>> makeIterable(Access2D<S> access)
public long column()
public long count()
count
in interface Structure1D
public double doubleValue(long index)
doubleValue
in interface Access1D<N extends Number>
public boolean hasNext()
hasNext
in interface Iterator<ColumnView<N extends Number>>
public boolean hasPrevious()
public ColumnView<N> next()
next
in interface Iterator<ColumnView<N extends Number>>
public ColumnView<N> previous()
public void remove()
remove
in interface Iterator<ColumnView<N extends Number>>
protected void setColumn(long column)
Copyright © 2018 Optimatika. All rights reserved.