public static class TransformableRegion.ColumnsRegion<N extends Number> extends TransformableRegion.ReceiverRegion<N>
TransformableRegion.ColumnsRegion<N extends Number>, TransformableRegion.FillByMultiplying<N extends Number>, TransformableRegion.LimitRegion<N extends Number>, TransformableRegion.OffsetRegion<N extends Number>, TransformableRegion.ReceiverRegion<N extends Number>, TransformableRegion.RowsRegion<N extends Number>, TransformableRegion.TransposedRegion<N extends Number>
Mutate2D.Exchangeable, Mutate2D.Fillable<N extends Number>, Mutate2D.Mixable<N extends Number>, Mutate2D.Modifiable<N extends Number>, Mutate2D.ModifiableReceiver<N extends Number>, Mutate2D.Receiver<N extends Number>
Mutate1D.Sortable
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
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>
Modifier | Constructor and Description |
---|---|
protected |
ColumnsRegion(TransformableRegion<N> base,
TransformableRegion.FillByMultiplying<N> multiplier,
int... columns) |
Modifier and Type | Method and Description |
---|---|
void |
add(long row,
long col,
double addend) |
void |
add(long row,
long col,
Number addend) |
long |
countColumns() |
long |
countRows() |
double |
doubleValue(long row,
long col)
Extracts one element of this matrix as a double.
|
void |
fillColumn(long row,
long col,
Access1D<N> values) |
void |
fillColumn(long row,
long col,
N value) |
void |
fillColumn(long row,
long col,
NullaryFunction<N> supplier) |
void |
fillOne(long row,
long col,
Access1D<?> values,
long valueIndex) |
void |
fillOne(long row,
long col,
N value) |
void |
fillOne(long row,
long col,
NullaryFunction<N> supplier) |
N |
get(long row,
long col) |
void |
modifyColumn(long row,
long col,
UnaryFunction<N> modifier) |
void |
modifyOne(long row,
long col,
UnaryFunction<N> modifier) |
void |
set(long row,
long col,
double value) |
void |
set(long row,
long col,
Number value) |
fillByMultiplying, regionByColumns, regionByLimits, regionByOffsets, regionByRows, regionByTransposing, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
exchangeColumns, exchangeRows, modifyAny
modifyColumn, modifyDiagonal, modifyDiagonal, modifyMatchingInColumns, modifyMatchingInColumns, modifyMatchingInRows, modifyMatchingInRows, modifyOne, modifyRow, modifyRow
modifyAll, modifyMatching, modifyMatching, modifyRange
accept, isAcceptable
copyComplexArgument, copyComplexImaginary, copyComplexModulus, copyComplexModulusAndArgument, copyComplexReal, copyComplexRealAndImaginary, reset
fillColumn, fillColumn, fillColumn, fillDiagonal, fillDiagonal, fillDiagonal, fillDiagonal, fillDiagonal, fillDiagonal, fillOne, fillOne, fillOne, fillRow, fillRow, fillRow, fillRow, fillRow, fillRow
column, column, column, column, column, count, count, index, index, isEmpty, isFat, isScalar, isSquare, isTall, isVector, loopAll, loopColumn, loopColumn, loopDiagonal, loopMatching, loopRow, loopRow, mapperOf, row, row, row, row, row
fillAll, fillAll, fillMatching, fillMatching, fillMatching, fillRange, fillRange
index, loopAll, loopMatching, loopRange, mapper, size
asCollectable2D, asPrimitive2D, byteValue, byteValue, columns, doubleValue, elements, equals, floatValue, floatValue, get, intValue, intValue, longValue, longValue, newPrimitiveColumnCollectable, newPrimitiveRowCollectable, rows, shortValue, shortValue, toRawCopy2D, toString, wrap, wrap
asCollectable1D, asPrimitive1D, axpy, dot, equals, hashCode, nonzeros, supplyTo, toRawCopy1D, toString, wrap, wrap, wrap
protected ColumnsRegion(TransformableRegion<N> base, TransformableRegion.FillByMultiplying<N> multiplier, int... columns)
base
- multiplier
- columns
- public void add(long row, long col, double addend)
public void add(long row, long col, Number addend)
public long countColumns()
public long countRows()
public double doubleValue(long row, long col)
Access2D
row
- A row index.col
- A column index.public void fillColumn(long row, long col, N value)
public void fillColumn(long row, long col, NullaryFunction<N> supplier)
public void fillOne(long row, long col, Access1D<?> values, long valueIndex)
public void fillOne(long row, long col, N value)
public void fillOne(long row, long col, NullaryFunction<N> supplier)
public N get(long row, long col)
public void modifyColumn(long row, long col, UnaryFunction<N> modifier)
public void modifyOne(long row, long col, UnaryFunction<N> modifier)
public void set(long row, long col, double value)
public void set(long row, long col, Number value)
Copyright © 2019 Optimatika. All rights reserved.