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
Deprecated.
v48 Will be removed
|
static class |
Access2D.ElementView<N extends Number> |
static interface |
Access2D.IndexOf
Deprecated.
v48 Will be removed
|
static interface |
Access2D.Sliceable<N extends Number> |
static interface |
Access2D.Visitable<N extends Number> |
Structure2D.IntRowColumn, Structure2D.Logical<S extends Structure2D,B extends Structure2D.Logical<S,?>>, 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 byte |
byteValue(long index) |
default byte |
byteValue(long row,
long col) |
default 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 float |
floatValue(long index) |
default float |
floatValue(long row,
long col) |
default N |
get(long index) |
N |
get(long row,
long col) |
default int |
intValue(long index) |
default int |
intValue(long row,
long col) |
default long |
longValue(long index) |
default long |
longValue(long row,
long col) |
static <R extends Mutate2D.Receiver<Double>> |
newPrimitiveColumnCollectable(Access1D<?> anything1D) |
static <R extends Mutate2D.Receiver<Double>> |
newPrimitiveRowCollectable(Access1D<?> anything1D) |
default RowView<N> |
rows() |
default short |
shortValue(long index) |
default short |
shortValue(long row,
long col) |
default double[][] |
toRawCopy2D() |
static String |
toString(Access2D<?> matrix) |
static Access2D<Double> |
wrap(double[][] target) |
static <N extends Number> |
wrap(N[][] target) |
column, column, column, column, column, count, 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, nonzeros, supplyTo, toRawCopy1D, toString, wrap, wrap, wrap
index, loopAll, loopMatching, loopRange, mapper, size
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)
default <NN extends Number,R extends Mutate2D.Receiver<NN>> Access2D.Collectable<NN,R> asCollectable2D()
default byte byteValue(long index)
default byte byteValue(long row, long col)
default 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
default float floatValue(long index)
floatValue
in interface Access1D<N extends Number>
default float floatValue(long row, long col)
N get(long row, long col)
default int intValue(long index)
default int intValue(long row, long col)
default long longValue(long index)
default long longValue(long row, long col)
default short shortValue(long index)
shortValue
in interface Access1D<N extends Number>
default short shortValue(long row, long col)
default double[][] toRawCopy2D()
Copyright © 2019 Optimatika. All rights reserved.