public interface Access2D<N extends Number> extends Structure2D, Access1D<N>
Access1D
Modifier and Type | Interface and Description |
---|---|
static interface |
Access2D.Aggregatable<N extends Number> |
static interface |
Access2D.Collectable<N extends Number,R extends Mutate2D.Receiver<N>> |
static interface |
Access2D.Elements |
static class |
Access2D.ElementView<N extends Number> |
static interface |
Access2D.IndexOf |
static interface |
Access2D.Sliceable<N extends Number> |
static interface |
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 |
---|---|
default <NN extends Number,R extends Mutate2D.Receiver<NN>> |
asCollectable2D() |
static Access2D<Double> |
asPrimitive2D(Access2D<?> access) |
default Iterable<ColumnView<N>> |
columns() |
default double |
doubleValue(long index) |
double |
doubleValue(long row,
long col)
Extracts one element of this matrix as a double.
|
default ElementView2D<N,?> |
elements()
Returns an Iterable of ElementView1D.
|
static boolean |
equals(Access2D<?> accessA,
Access2D<?> accessB,
NumberContext context) |
default N |
get(long index) |
N |
get(long row,
long col) |
static <R extends Mutate2D.Receiver<Double>> |
newPrimitiveColumnCollectable(Access1D<?> anything1D) |
static <R extends Mutate2D.Receiver<Double>> |
newPrimitiveRowCollectable(Access1D<?> anything1D) |
default Iterable<RowView<N>> |
rows() |
default double[][] |
toRawCopy2D() |
static String |
toString(Access2D<?> matrix) |
static Access2D<Double> |
wrap(double[][] target) |
static <N extends Number> |
wrap(N[][] target) |
static Access2D<Double> |
wrapAccess2D(double[][] target)
Deprecated.
v45 Use
wrap(double[][]) instead |
static <N extends Number> |
wrapAccess2D(N[][] target)
Deprecated.
v45 Use
#wrap(N[][]) instead |
column, column, column, column, column, count, countColumns, countRows, index, index, isEmpty, isFat, isScalar, isSquare, isTall, isVector, loopAll, loopColumn, loopColumn, loopDiagonal, loopMatching, loopRow, loopRow, mapperOf, row, row, row, row, row
asCollectable1D, asPrimitive1D, axpy, dot, equals, hashCode, iterator, nonzeros, stream, supplyTo, toRawCopy1D, wrap, wrap, wrap, wrapAccess1D, wrapAccess1D, wrapAccess1D
loopAll, loopMatching, loopRange, mapper
forEach, spliterator
static boolean equals(Access2D<?> accessA, Access2D<?> accessB, NumberContext context)
static <R extends Mutate2D.Receiver<Double>> Access2D.Collectable<Double,R> newPrimitiveColumnCollectable(Access1D<?> anything1D)
static <R extends Mutate2D.Receiver<Double>> Access2D.Collectable<Double,R> newPrimitiveRowCollectable(Access1D<?> anything1D)
@Deprecated static Access2D<Double> wrapAccess2D(double[][] target)
wrap(double[][])
instead@Deprecated static <N extends Number> Access2D<N> wrapAccess2D(N[][] target)
#wrap(N[][])
insteaddefault <NN extends Number,R extends Mutate2D.Receiver<NN>> Access2D.Collectable<NN,R> asCollectable2D()
default Iterable<ColumnView<N>> columns()
default double doubleValue(long index)
doubleValue
in interface Access1D<N extends Number>
double doubleValue(long row, long col)
row
- A row index.col
- A column index.default ElementView2D<N,?> elements()
Access1D
N get(long row, long col)
default double[][] toRawCopy2D()
Copyright © 2018 Optimatika. All rights reserved.