Package gov.nih.mipav.model.algorithms
Class CeresSolver2.DynamicCompressedRowSparseMatrix
java.lang.Object
gov.nih.mipav.model.algorithms.CeresSolver.LinearOperator
gov.nih.mipav.model.algorithms.CeresSolver.SparseMatrix
gov.nih.mipav.model.algorithms.CeresSolver.CompressedRowSparseMatrix
gov.nih.mipav.model.algorithms.CeresSolver2.DynamicCompressedRowSparseMatrix
- Enclosing class:
CeresSolver2
public class CeresSolver2.DynamicCompressedRowSparseMatrix
extends CeresSolver.CompressedRowSparseMatrix
-
Field Summary
FieldsModifier and TypeFieldDescription -
Constructor Summary
ConstructorsConstructorDescriptionDynamicCompressedRowSparseMatrix(int num_rows, int num_cols, int initial_max_num_nonzeros) -
Method Summary
Modifier and TypeMethodDescriptionvoidClearRows(int row_start, int num_rows) voidFinalize(int num_additional_elements) voidInsertEntry(int row, int col, double value) Methods inherited from class gov.nih.mipav.model.algorithms.CeresSolver.CompressedRowSparseMatrix
AppendRows, col_blocks, cols, DeleteRows, LeftMultiply, mutable_col_blocks, mutable_cols, mutable_row_blocks, mutable_rows, mutable_values, num_cols, num_nonzeros, num_rows, RightMultiply, row_blocks, rows, ScaleColumns, set_col_blocks, set_num_cols, set_num_rows, set_row_blocks, set_storage_type, SetMaxNumNonZeros, SetZero, SquaredColumnNorm, storage_type, ToCRSMatrix, ToCRSMatrix, ToDenseMatrix, ToTextFile, Transpose, valuesMethods inherited from class gov.nih.mipav.model.algorithms.CeresSolver.SparseMatrix
RightMultiply, ScaleColumns, SquaredColumnNorm
-
Field Details
-
dynamic_cols_
-
dynamic_values_
-
-
Constructor Details
-
DynamicCompressedRowSparseMatrix
public DynamicCompressedRowSparseMatrix(int num_rows, int num_cols, int initial_max_num_nonzeros)
-
-
Method Details
-
InsertEntry
public void InsertEntry(int row, int col, double value) -
ClearRows
public void ClearRows(int row_start, int num_rows) -
Finalize
public void Finalize(int num_additional_elements)
-