Package org.ojalgo.array
Class Array2D<N extends Comparable<N>>
java.lang.Object
org.ojalgo.array.Array2D<N>
- All Implemented Interfaces:
Consumer<Access2D<?>>
,Access1D<N>
,Access1D.Aggregatable<N>
,Access1D.Sliceable<N>
,Access1D.Visitable<N>
,Access2D<N>
,Access2D.Aggregatable<N>
,Access2D.Collectable<N,
,Mutate2D> Access2D.Sliceable<N>
,Access2D.Visitable<N>
,Factory2D.Builder<Array2D<N>>
,Mutate1D
,Mutate1D.Fillable<N>
,Mutate1D.Mixable<N>
,Mutate1D.Modifiable<N>
,Mutate2D
,Mutate2D.Exchangeable
,Mutate2D.Fillable<N>
,Mutate2D.Mixable<N>
,Mutate2D.Modifiable<N>
,Mutate2D.ModifiableReceiver<N>
,Mutate2D.Receiver<N>
,Structure1D
,Structure2D
,Structure2D.ReducibleTo1D<Array1D<N>>
,Structure2D.Reshapable
public final class Array2D<N extends Comparable<N>>
extends Object
implements Access2D.Visitable<N>, Access2D.Aggregatable<N>, Access2D.Sliceable<N>, Structure2D.ReducibleTo1D<Array1D<N>>, Access2D.Collectable<N,Mutate2D>, Mutate2D.ModifiableReceiver<N>, Mutate2D.Mixable<N>, Structure2D.Reshapable, Factory2D.Builder<Array2D<N>>
Array2D
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface org.ojalgo.structure.Access2D
Access2D.Aggregatable<N extends Comparable<N>>, Access2D.Collectable<N extends Comparable<N>,
R extends Mutate2D>, Access2D.ColumnView<N extends Comparable<N>>, Access2D.ElementView<N extends Comparable<N>>, Access2D.RowView<N extends Comparable<N>>, Access2D.SelectionView<N extends Comparable<N>>, Access2D.Sliceable<N extends Comparable<N>>, Access2D.Visitable<N extends Comparable<N>> Nested classes/interfaces inherited from interface org.ojalgo.structure.Mutate1D
Mutate1D.Fillable<N extends Comparable<N>>, Mutate1D.Mixable<N extends Comparable<N>>, Mutate1D.Modifiable<N extends Comparable<N>>, Mutate1D.ModifiableReceiver<N extends Comparable<N>>, Mutate1D.Receiver<N extends Comparable<N>>, Mutate1D.Sortable
Nested classes/interfaces inherited from interface org.ojalgo.structure.Mutate2D
Mutate2D.Exchangeable, Mutate2D.Fillable<N extends Comparable<N>>, Mutate2D.Mixable<N extends Comparable<N>>, Mutate2D.Modifiable<N extends Comparable<N>>, Mutate2D.ModifiableReceiver<N extends Comparable<N>>, Mutate2D.Receiver<N extends Comparable<N>>
Nested classes/interfaces inherited from interface org.ojalgo.structure.Structure1D
Structure1D.BasicMapper<T>, Structure1D.IndexMapper<T>, Structure1D.IntIndex, Structure1D.Logical<S extends Structure1D,
B extends Structure1D.Logical<S, B>>, Structure1D.LongIndex, Structure1D.LoopCallback Nested classes/interfaces inherited from interface org.ojalgo.structure.Structure2D
Structure2D.IntRowColumn, Structure2D.Logical<S extends Structure2D,
B extends Structure2D.Logical<S, B>>, Structure2D.LongRowColumn, Structure2D.ReducibleTo1D<R extends Structure1D>, Structure2D.Reshapable, Structure2D.RowColumnKey<R, C>, Structure2D.RowColumnMapper<R, C> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Array2D.Factory
<ComplexNumber> static final Array2D.Factory
<Quaternion> private final long
private final BasicArray
<N> private final long
static final Array2D.Factory
<RationalNumber> static final Array2D.Factory
<Double> static final Array2D.Factory
<Double> static final Array2D.Factory
<Quadruple> static final Array2D.Factory
<BigDecimal> static final Array2D.Factory
<Double> static final Array2D.Factory
<Double> static final Array2D.Factory
<Double> static final Array2D.Factory
<Double> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(long index, byte addend) void
add
(long index, double addend) void
add
(long index, float addend) void
add
(long index, int addend) void
add
(long index, long addend) void
add
(long row, long col, byte addend) void
add
(long row, long col, double addend) void
add
(long row, long col, float addend) void
add
(long row, long col, int addend) void
add
(long row, long col, long addend) void
add
(long row, long col, short addend) void
add
(long row, long col, Comparable<?> addend) void
add
(long index, short addend) void
add
(long index, Comparable<?> addend) aggregateColumn
(long row, long col, Aggregator aggregator) aggregateDiagonal
(long row, long col, Aggregator aggregator) aggregateRange
(long first, long limit, Aggregator aggregator) aggregateRow
(long row, long col, Aggregator aggregator) build()
byte
byteValue
(int index) byte
byteValue
(int row, int col) byte
byteValue
(long index) byte
byteValue
(long row, long col) long
count()
count() == countRows() * countColumns()long
Only need to implement if the structure may contain more than Integer.MAX_VALUE elements.long
Only need to implement if the structure may contain more than Integer.MAX_VALUE elements.double
doubleValue
(int index) double
doubleValue
(int row, int col) Extracts one element of this matrix as a double.double
doubleValue
(long index) double
doubleValue
(long row, long col) boolean
void
exchangeColumns
(long colA, long colB) void
exchangeRows
(long rowA, long rowB) factory()
static <N extends Comparable<N>>
Array2D.Factory<N> factory
(DenseArray.Factory<N> denseArray) void
void
fillAll
(NullaryFunction<?> supplier) void
fillColumn
(long row, long col, N value) void
fillColumn
(long row, long col, NullaryFunction<?> supplier) void
fillColumn
(long row, long col, Access1D<N> values) void
fillDiagonal
(long row, long col, N value) void
fillDiagonal
(long row, long col, NullaryFunction<?> supplier) void
void
fillRange
(long first, long limit, NullaryFunction<?> supplier) void
void
fillRow
(long row, long col, NullaryFunction<?> supplier) void
flatten()
Flattens this two dimensional array to a one dimensional array.float
floatValue
(int index) float
floatValue
(int row, int col) float
floatValue
(long index) float
floatValue
(long row, long col) get
(long index) get
(long row, long col) int
(package private) BasicArray
<N> int
int
hashCode()
long
int
intValue
(int index) int
intValue
(int row, int col) int
intValue
(long index) int
intValue
(long row, long col) long
longValue
(int index) long
longValue
(int row, int col) long
longValue
(long index) long
longValue
(long row, long col) double
mix
(long row, long col, BinaryFunction<N> mixer, double addend) mix
(long row, long col, BinaryFunction<N> mixer, N addend) void
modifyAll
(UnaryFunction<N> modifier) void
modifyAny
(Transformation2D<N> modifier) void
modifyColumn
(long row, long col, UnaryFunction<N> modifier) void
modifyDiagonal
(long row, long col, UnaryFunction<N> modifier) void
modifyMatching
(BinaryFunction<N> function, Access1D<N> right) void
modifyMatching
(Access1D<N> left, BinaryFunction<N> function) void
modifyOne
(long row, long col, UnaryFunction<N> modifier) void
modifyOne
(long index, UnaryFunction<N> modifier) void
modifyRange
(long first, long limit, UnaryFunction<N> modifier) void
modifyRow
(long row, long col, UnaryFunction<N> modifier) reduceColumns
(Aggregator aggregator) reduceRows
(Aggregator aggregator) void
reset()
Reset this mutable structure to some standard (all zeros) initial state.reshape
(long rows, long columns) void
set
(int index, byte value) void
set
(int index, double value) void
set
(int index, float value) void
set
(int index, int value) void
set
(int row, int col, byte value) void
set
(int row, int col, double value) void
set
(int row, int col, float value) void
set
(int row, int col, int value) void
set
(int row, int col, long value) void
set
(int row, int col, short value) void
set
(int index, long value) void
set
(int index, short value) void
set
(long index, byte value) void
set
(long index, double value) void
set
(long index, float value) void
set
(long index, int value) void
set
(long index, long value) void
set
(long row, long col, byte value) void
set
(long row, long col, double value) void
set
(long row, long col, float value) void
set
(long row, long col, int value) void
set
(long row, long col, long value) void
set
(long row, long col, short value) void
set
(long row, long col, Comparable<?> value) void
set
(long index, short value) void
set
(long index, Comparable<?> value) short
shortValue
(int index) short
shortValue
(int row, int col) short
shortValue
(long index) short
shortValue
(long row, long col) sliceColumn
(long col) sliceColumn
(long row, long col) sliceDiagonal
(long row, long col) sliceRange
(long first, long limit) sliceRow
(long row) sliceRow
(long row, long col) void
toString()
void
visitAll
(VoidFunction<N> visitor) void
visitColumn
(long row, long col, VoidFunction<N> visitor) void
visitDiagonal
(long row, long col, VoidFunction<N> visitor) void
visitOne
(long row, long col, VoidFunction<N> visitor) void
visitOne
(long index, VoidFunction<N> visitor) void
visitRange
(long first, long limit, VoidFunction<N> visitor) void
visitRow
(long row, long col, VoidFunction<N> visitor) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.ojalgo.structure.Access1D
asCollectable1D, asKeyed1D, axpy, dot, select, supplyTo, toRawCopy1D
Methods inherited from interface org.ojalgo.structure.Access1D.Aggregatable
aggregateAll
Methods inherited from interface org.ojalgo.structure.Access2D
asCollectable2D, asKeyed2D, columns, columns, columns, elements, nonzeros, rows, rows, rows, select, select, toRawCopy2D
Methods inherited from interface org.ojalgo.structure.Access2D.Aggregatable
aggregateColumn, aggregateDiagonal, aggregateRow, reduceColumns, reduceRows
Methods inherited from interface org.ojalgo.structure.Access2D.Collectable
collect
Methods inherited from interface org.ojalgo.structure.Access2D.Sliceable
sliceDiagonal
Methods inherited from interface org.ojalgo.structure.Access2D.Visitable
visitColumn, visitDiagonal, visitRow
Methods inherited from interface org.ojalgo.structure.Mutate1D.Fillable
fillCompatible, fillMatching, fillMatching, fillMatching
Methods inherited from interface org.ojalgo.structure.Mutate2D.Fillable
fillColumn, fillColumn, fillColumn, fillCompatible, fillDiagonal, fillDiagonal, fillDiagonal, fillDiagonal, fillRow, fillRow, fillRow
Methods inherited from interface org.ojalgo.structure.Mutate2D.Mixable
mix, mix
Methods inherited from interface org.ojalgo.structure.Mutate2D.Modifiable
modifyColumn, modifyDiagonal, modifyMatchingInColumns, modifyMatchingInColumns, modifyMatchingInRows, modifyMatchingInRows, modifyRow
Methods inherited from interface org.ojalgo.structure.Mutate2D.ModifiableReceiver
modifyCompatible, modifyCompatible
Methods inherited from interface org.ojalgo.structure.Mutate2D.Receiver
accept, isAcceptable
Methods inherited from interface org.ojalgo.structure.Structure2D
firstInColumn, firstInRow, getMaxDim, getMinDim, isEmpty, isFat, isScalar, isSquare, isTall, isVector, limitOfColumn, limitOfRow, size
-
Field Details
-
C128
-
H256
-
Q128
-
R032
-
R064
-
R128
-
R256
-
Z008
-
Z016
-
Z032
-
Z064
-
myColumnsCount
private final long myColumnsCount -
myDelegate
-
myRowsCount
private final long myRowsCount
-
-
Constructor Details
-
Array2D
Array2D(BasicArray<N> delegate, long structure)
-
-
Method Details
-
factory
public static <N extends Comparable<N>> Array2D.Factory<N> factory(DenseArray.Factory<N> denseArray) -
add
public void add(long index, byte addend) - Specified by:
add
in interfaceMutate1D.Modifiable<N extends Comparable<N>>
- Specified by:
add
in interfaceMutate2D.Modifiable<N extends Comparable<N>>
-
add
- Specified by:
add
in interfaceMutate1D.Modifiable<N extends Comparable<N>>
- Specified by:
add
in interfaceMutate2D.Modifiable<N extends Comparable<N>>
-
add
public void add(long index, double addend) - Specified by:
add
in interfaceMutate1D.Modifiable<N extends Comparable<N>>
- Specified by:
add
in interfaceMutate2D.Modifiable<N extends Comparable<N>>
-
add
public void add(long index, float addend) - Specified by:
add
in interfaceMutate1D.Modifiable<N extends Comparable<N>>
- Specified by:
add
in interfaceMutate2D.Modifiable<N extends Comparable<N>>
-
add
public void add(long index, int addend) - Specified by:
add
in interfaceMutate1D.Modifiable<N extends Comparable<N>>
- Specified by:
add
in interfaceMutate2D.Modifiable<N extends Comparable<N>>
-
add
public void add(long index, long addend) - Specified by:
add
in interfaceMutate1D.Modifiable<N extends Comparable<N>>
- Specified by:
add
in interfaceMutate2D.Modifiable<N extends Comparable<N>>
-
add
public void add(long row, long col, byte addend) - Specified by:
add
in interfaceMutate2D.Modifiable<N extends Comparable<N>>
-
add
- Specified by:
add
in interfaceMutate2D.Modifiable<N extends Comparable<N>>
-
add
public void add(long row, long col, double addend) - Specified by:
add
in interfaceMutate2D.Modifiable<N extends Comparable<N>>
-
add
public void add(long row, long col, float addend) - Specified by:
add
in interfaceMutate2D.Modifiable<N extends Comparable<N>>
-
add
public void add(long row, long col, int addend) - Specified by:
add
in interfaceMutate2D.Modifiable<N extends Comparable<N>>
-
add
public void add(long row, long col, long addend) - Specified by:
add
in interfaceMutate2D.Modifiable<N extends Comparable<N>>
-
add
public void add(long row, long col, short addend) - Specified by:
add
in interfaceMutate2D.Modifiable<N extends Comparable<N>>
-
add
public void add(long index, short addend) - Specified by:
add
in interfaceMutate1D.Modifiable<N extends Comparable<N>>
- Specified by:
add
in interfaceMutate2D.Modifiable<N extends Comparable<N>>
-
aggregateColumn
- Specified by:
aggregateColumn
in interfaceAccess2D.Aggregatable<N extends Comparable<N>>
-
aggregateDiagonal
- Specified by:
aggregateDiagonal
in interfaceAccess2D.Aggregatable<N extends Comparable<N>>
-
aggregateRange
- Specified by:
aggregateRange
in interfaceAccess1D.Aggregatable<N extends Comparable<N>>
-
aggregateRow
- Specified by:
aggregateRow
in interfaceAccess2D.Aggregatable<N extends Comparable<N>>
-
build
- Specified by:
build
in interfaceFactory2D.Builder<N extends Comparable<N>>
-
byteValue
public byte byteValue(int index) - Specified by:
byteValue
in interfaceAccess1D<N extends Comparable<N>>
- Specified by:
byteValue
in interfaceAccess2D<N extends Comparable<N>>
-
byteValue
public byte byteValue(int row, int col) - Specified by:
byteValue
in interfaceAccess2D<N extends Comparable<N>>
-
byteValue
public byte byteValue(long index) - Specified by:
byteValue
in interfaceAccess1D<N extends Comparable<N>>
- Specified by:
byteValue
in interfaceAccess2D<N extends Comparable<N>>
-
byteValue
public byte byteValue(long row, long col) - Specified by:
byteValue
in interfaceAccess2D<N extends Comparable<N>>
-
count
public long count()Description copied from interface:Structure2D
count() == countRows() * countColumns()- Specified by:
count
in interfaceStructure1D
- Specified by:
count
in interfaceStructure2D
-
countColumns
public long countColumns()Description copied from interface:Structure2D
Only need to implement if the structure may contain more than Integer.MAX_VALUE elements.- Specified by:
countColumns
in interfaceStructure2D
- Returns:
- The number of columns
-
countRows
public long countRows()Description copied from interface:Structure2D
Only need to implement if the structure may contain more than Integer.MAX_VALUE elements.- Specified by:
countRows
in interfaceStructure2D
- Returns:
- The number of rows
-
doubleValue
public double doubleValue(int index) - Specified by:
doubleValue
in interfaceAccess1D<N extends Comparable<N>>
- Specified by:
doubleValue
in interfaceAccess2D<N extends Comparable<N>>
-
doubleValue
public double doubleValue(int row, int col) Description copied from interface:Access2D
Extracts one element of this matrix as a double.- Specified by:
doubleValue
in interfaceAccess2D<N extends Comparable<N>>
- Parameters:
row
- A row index.col
- A column index.- Returns:
- One matrix element
-
doubleValue
public double doubleValue(long index) - Specified by:
doubleValue
in interfaceAccess1D<N extends Comparable<N>>
- Specified by:
doubleValue
in interfaceAccess2D<N extends Comparable<N>>
-
doubleValue
public double doubleValue(long row, long col) - Specified by:
doubleValue
in interfaceAccess2D<N extends Comparable<N>>
-
equals
-
exchangeColumns
public void exchangeColumns(long colA, long colB) - Specified by:
exchangeColumns
in interfaceMutate2D.Exchangeable
-
exchangeRows
public void exchangeRows(long rowA, long rowB) - Specified by:
exchangeRows
in interfaceMutate2D.Exchangeable
-
fillAll
- Specified by:
fillAll
in interfaceMutate1D.Fillable<N extends Comparable<N>>
-
fillAll
- Specified by:
fillAll
in interfaceMutate1D.Fillable<N extends Comparable<N>>
-
fillColumn
- Specified by:
fillColumn
in interfaceMutate2D.Fillable<N extends Comparable<N>>
-
fillColumn
- Specified by:
fillColumn
in interfaceMutate2D.Fillable<N extends Comparable<N>>
-
fillColumn
- Specified by:
fillColumn
in interfaceMutate2D.Fillable<N extends Comparable<N>>
-
fillDiagonal
- Specified by:
fillDiagonal
in interfaceMutate2D.Fillable<N extends Comparable<N>>
-
fillDiagonal
- Specified by:
fillDiagonal
in interfaceMutate2D.Fillable<N extends Comparable<N>>
-
fillRange
- Specified by:
fillRange
in interfaceMutate1D.Fillable<N extends Comparable<N>>
-
fillRange
- Specified by:
fillRange
in interfaceMutate1D.Fillable<N extends Comparable<N>>
-
fillRow
- Specified by:
fillRow
in interfaceMutate2D.Fillable<N extends Comparable<N>>
-
fillRow
- Specified by:
fillRow
in interfaceMutate2D.Fillable<N extends Comparable<N>>
-
fillRow
- Specified by:
fillRow
in interfaceMutate2D.Fillable<N extends Comparable<N>>
-
flatten
Flattens this two dimensional array to a one dimensional array. The (internal/actual) array is not copied, it is just accessed through a different adaptor.- Specified by:
flatten
in interfaceStructure2D.Reshapable
- See Also:
-
floatValue
public float floatValue(int index) - Specified by:
floatValue
in interfaceAccess1D<N extends Comparable<N>>
- Specified by:
floatValue
in interfaceAccess2D<N extends Comparable<N>>
-
floatValue
public float floatValue(int row, int col) - Specified by:
floatValue
in interfaceAccess2D<N extends Comparable<N>>
-
floatValue
public float floatValue(long index) - Specified by:
floatValue
in interfaceAccess1D<N extends Comparable<N>>
- Specified by:
floatValue
in interfaceAccess2D<N extends Comparable<N>>
-
floatValue
public float floatValue(long row, long col) - Specified by:
floatValue
in interfaceAccess2D<N extends Comparable<N>>
-
get
- Specified by:
get
in interfaceAccess1D<N extends Comparable<N>>
- Specified by:
get
in interfaceAccess2D<N extends Comparable<N>>
-
get
- Specified by:
get
in interfaceAccess2D<N extends Comparable<N>>
-
getColDim
public int getColDim()- Specified by:
getColDim
in interfaceStructure2D
- Returns:
- The number of columns
-
getRowDim
public int getRowDim()- Specified by:
getRowDim
in interfaceStructure2D
- Returns:
- The number of rows
-
hashCode
public int hashCode() -
indexOfLargest
public long indexOfLargest()- Specified by:
indexOfLargest
in interfaceAccess1D.Aggregatable<N extends Comparable<N>>
-
intValue
public int intValue(int index) - Specified by:
intValue
in interfaceAccess1D<N extends Comparable<N>>
- Specified by:
intValue
in interfaceAccess2D<N extends Comparable<N>>
-
intValue
public int intValue(int row, int col) - Specified by:
intValue
in interfaceAccess2D<N extends Comparable<N>>
-
intValue
public int intValue(long index) - Specified by:
intValue
in interfaceAccess1D<N extends Comparable<N>>
- Specified by:
intValue
in interfaceAccess2D<N extends Comparable<N>>
-
intValue
public int intValue(long row, long col) - Specified by:
intValue
in interfaceAccess2D<N extends Comparable<N>>
-
longValue
public long longValue(int index) - Specified by:
longValue
in interfaceAccess1D<N extends Comparable<N>>
- Specified by:
longValue
in interfaceAccess2D<N extends Comparable<N>>
-
longValue
public long longValue(int row, int col) - Specified by:
longValue
in interfaceAccess2D<N extends Comparable<N>>
-
longValue
public long longValue(long index) - Specified by:
longValue
in interfaceAccess1D<N extends Comparable<N>>
- Specified by:
longValue
in interfaceAccess2D<N extends Comparable<N>>
-
longValue
public long longValue(long row, long col) - Specified by:
longValue
in interfaceAccess2D<N extends Comparable<N>>
-
mix
- Specified by:
mix
in interfaceMutate2D.Mixable<N extends Comparable<N>>
-
mix
- Specified by:
mix
in interfaceMutate2D.Mixable<N extends Comparable<N>>
-
modifyAll
- Specified by:
modifyAll
in interfaceMutate1D.Modifiable<N extends Comparable<N>>
-
modifyAny
- Specified by:
modifyAny
in interfaceMutate2D.ModifiableReceiver<N extends Comparable<N>>
-
modifyColumn
- Specified by:
modifyColumn
in interfaceMutate2D.Modifiable<N extends Comparable<N>>
-
modifyDiagonal
- Specified by:
modifyDiagonal
in interfaceMutate2D.Modifiable<N extends Comparable<N>>
-
modifyMatching
- Specified by:
modifyMatching
in interfaceMutate1D.Modifiable<N extends Comparable<N>>
-
modifyMatching
- Specified by:
modifyMatching
in interfaceMutate1D.Modifiable<N extends Comparable<N>>
-
modifyOne
- Specified by:
modifyOne
in interfaceMutate2D.Modifiable<N extends Comparable<N>>
-
modifyOne
- Specified by:
modifyOne
in interfaceMutate1D.Modifiable<N extends Comparable<N>>
- Specified by:
modifyOne
in interfaceMutate2D.Modifiable<N extends Comparable<N>>
-
modifyRange
- Specified by:
modifyRange
in interfaceMutate1D.Modifiable<N extends Comparable<N>>
-
modifyRow
- Specified by:
modifyRow
in interfaceMutate2D.Modifiable<N extends Comparable<N>>
-
reduceColumns
- Specified by:
reduceColumns
in interfaceStructure2D.ReducibleTo1D<N extends Comparable<N>>
-
reduceRows
- Specified by:
reduceRows
in interfaceStructure2D.ReducibleTo1D<N extends Comparable<N>>
-
reset
public void reset()Description copied from interface:Mutate1D
Reset this mutable structure to some standard (all zeros) initial state. It must still be usuable after this call, and the structure/size/shape must not change. -
reshape
- Specified by:
reshape
in interfaceStructure2D.Reshapable
- See Also:
-
set
public void set(int index, byte value) -
set
public void set(int index, double value) -
set
public void set(int index, float value) -
set
public void set(int index, int value) -
set
public void set(int row, int col, byte value) -
set
public void set(int row, int col, double value) -
set
public void set(int row, int col, float value) -
set
public void set(int row, int col, int value) -
set
public void set(int row, int col, long value) -
set
public void set(int row, int col, short value) -
set
public void set(int index, long value) -
set
public void set(int index, short value) -
set
public void set(long index, byte value) -
set
-
set
public void set(long index, double value) -
set
public void set(long index, float value) -
set
public void set(long index, int value) -
set
public void set(long index, long value) -
set
public void set(long row, long col, byte value) -
set
-
set
public void set(long row, long col, double value) -
set
public void set(long row, long col, float value) -
set
public void set(long row, long col, int value) -
set
public void set(long row, long col, long value) -
set
public void set(long row, long col, short value) -
set
public void set(long index, short value) -
shortValue
public short shortValue(int index) - Specified by:
shortValue
in interfaceAccess1D<N extends Comparable<N>>
- Specified by:
shortValue
in interfaceAccess2D<N extends Comparable<N>>
-
shortValue
public short shortValue(int row, int col) - Specified by:
shortValue
in interfaceAccess2D<N extends Comparable<N>>
-
shortValue
public short shortValue(long index) - Specified by:
shortValue
in interfaceAccess1D<N extends Comparable<N>>
- Specified by:
shortValue
in interfaceAccess2D<N extends Comparable<N>>
-
shortValue
public short shortValue(long row, long col) - Specified by:
shortValue
in interfaceAccess2D<N extends Comparable<N>>
-
sliceColumn
- Specified by:
sliceColumn
in interfaceAccess2D.Sliceable<N extends Comparable<N>>
-
sliceColumn
- Specified by:
sliceColumn
in interfaceAccess2D.Sliceable<N extends Comparable<N>>
-
sliceDiagonal
- Specified by:
sliceDiagonal
in interfaceAccess2D.Sliceable<N extends Comparable<N>>
-
sliceRange
- Specified by:
sliceRange
in interfaceAccess1D.Sliceable<N extends Comparable<N>>
-
sliceRow
- Specified by:
sliceRow
in interfaceAccess2D.Sliceable<N extends Comparable<N>>
-
sliceRow
- Specified by:
sliceRow
in interfaceAccess2D.Sliceable<N extends Comparable<N>>
-
supplyTo
- Specified by:
supplyTo
in interfaceAccess2D.Collectable<N extends Comparable<N>,
Mutate2D>
-
toString
-
visitAll
- Specified by:
visitAll
in interfaceAccess1D.Visitable<N extends Comparable<N>>
-
visitColumn
- Specified by:
visitColumn
in interfaceAccess2D.Visitable<N extends Comparable<N>>
-
visitDiagonal
- Specified by:
visitDiagonal
in interfaceAccess2D.Visitable<N extends Comparable<N>>
-
visitOne
- Specified by:
visitOne
in interfaceAccess2D.Visitable<N extends Comparable<N>>
-
visitOne
- Specified by:
visitOne
in interfaceAccess1D.Visitable<N extends Comparable<N>>
- Specified by:
visitOne
in interfaceAccess2D.Visitable<N extends Comparable<N>>
-
visitRange
- Specified by:
visitRange
in interfaceAccess1D.Visitable<N extends Comparable<N>>
-
visitRow
- Specified by:
visitRow
in interfaceAccess2D.Visitable<N extends Comparable<N>>
-
factory
-
getDelegate
BasicArray<N> getDelegate()
-