- java.lang.Object
-
- org.ojalgo.matrix.store.CompressedSparseR064.Builder<R064CSC>
-
- org.ojalgo.matrix.store.R064CSC.Builder
-
- All Implemented Interfaces:
Factory2D.Builder<R064CSC>,Mutate1D,Mutate1D.Modifiable<java.lang.Double>,Mutate2D,Mutate2D.Modifiable<java.lang.Double>,Structure1D,Structure2D
- Enclosing class:
- R064CSC
public static final class R064CSC.Builder extends CompressedSparseR064.Builder<R064CSC>
A builder for constructingR064CSRinstances. The dimensions of the matrix are dynamically adjusted as elements are added.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.ojalgo.structure.Mutate1D
Mutate1D.Sortable
-
Nested classes/interfaces inherited from interface org.ojalgo.structure.Mutate2D
Mutate2D.Exchangeable, Mutate2D.Fillable<N extends java.lang.Comparable<N>>, Mutate2D.Mixable<N extends java.lang.Comparable<N>>, Mutate2D.Modifiable<N extends java.lang.Comparable<N>>, Mutate2D.ModifiableReceiver<N extends java.lang.Comparable<N>>, Mutate2D.Receiver<N extends java.lang.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
Fields Modifier and Type Field Description private ColumnsSupplier<java.lang.Double>myColumns
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(int row, int col, double addend)R064CSCbuild()voidreset()Reset this mutable structure to some standard (all zeros) initial state.voidset(int row, int col, double value)-
Methods inherited from class org.ojalgo.matrix.store.CompressedSparseR064.Builder
add, add, getColDim, getRowDim, modifyOne, set, update
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.ojalgo.structure.Mutate1D.Modifiable
add, add, add, add, add, modifyAll, modifyMatching, modifyMatching, modifyRange
-
Methods inherited from interface org.ojalgo.structure.Mutate2D
set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set
-
Methods inherited from interface org.ojalgo.structure.Mutate2D.Modifiable
add, add, add, add, add, add, add, add, add, add, add, add, add, modifyColumn, modifyColumn, modifyDiagonal, modifyDiagonal, modifyMatchingInColumns, modifyMatchingInColumns, modifyMatchingInRows, modifyMatchingInRows, modifyOne, modifyRow, modifyRow
-
Methods inherited from interface org.ojalgo.structure.Structure2D
count, countColumns, countRows, firstInColumn, firstInRow, getMaxDim, getMinDim, isEmpty, isFat, isScalar, isSquare, isTall, isVector, limitOfColumn, limitOfRow, size
-
-
-
-
Field Detail
-
myColumns
private final ColumnsSupplier<java.lang.Double> myColumns
-
-
Method Detail
-
add
public void add(int row, int col, double addend)
-
build
public R064CSC build()
-
reset
public void reset()
Description copied from interface:Mutate1DReset 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.- Specified by:
resetin interfaceMutate1D- Overrides:
resetin classCompressedSparseR064.Builder<R064CSC>
-
set
public void set(int row, int col, double value)
-
-