Package gov.nih.mipav.model.algorithms
Class CeresSolver.BlockSparseMatrix
java.lang.Object
gov.nih.mipav.model.algorithms.CeresSolver.LinearOperator
gov.nih.mipav.model.algorithms.CeresSolver.SparseMatrix
gov.nih.mipav.model.algorithms.CeresSolver.BlockSparseMatrix
- Enclosing class:
CeresSolver
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate intprivate intprivate intprivate double[] -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidDeleteRowBlocks(int delta_row_blocks) voidLeftMultiply(double[] x, double[] y) double[]intnum_cols()intintnum_rows()voidRightMultiply(double[] x, double[] y) voidScaleColumns(double[] scale) voidSetZero()voidSquaredColumnNorm(double[] x) Jama.MatrixvoidToTextFile(File file) voiddouble[]values()Methods inherited from class gov.nih.mipav.model.algorithms.CeresSolver.SparseMatrix
RightMultiply, ScaleColumns, SquaredColumnNorm
-
Field Details
-
num_rows_
private int num_rows_ -
num_cols_
private int num_cols_ -
num_nonzeros_
private int num_nonzeros_ -
max_num_nonzeros_
private int max_num_nonzeros_ -
values_
private double[] values_ -
block_structure_
-
randomMatrixOptions
-
-
Constructor Details
-
BlockSparseMatrix
-
BlockSparseMatrix
public BlockSparseMatrix()
-
-
Method Details
-
SetZero
public void SetZero()- Specified by:
SetZeroin classCeresSolver.SparseMatrix
-
RightMultiply
public void RightMultiply(double[] x, double[] y) - Specified by:
RightMultiplyin classCeresSolver.SparseMatrix
-
LeftMultiply
public void LeftMultiply(double[] x, double[] y) - Specified by:
LeftMultiplyin classCeresSolver.SparseMatrix
-
SquaredColumnNorm
public void SquaredColumnNorm(double[] x) - Specified by:
SquaredColumnNormin classCeresSolver.SparseMatrix
-
ScaleColumns
public void ScaleColumns(double[] scale) - Specified by:
ScaleColumnsin classCeresSolver.SparseMatrix
-
ToDenseMatrix
public Jama.Matrix ToDenseMatrix()- Specified by:
ToDenseMatrixin classCeresSolver.SparseMatrix
-
ToTextFile
- Specified by:
ToTextFilein classCeresSolver.SparseMatrix
-
num_rows
public int num_rows()- Specified by:
num_rowsin classCeresSolver.SparseMatrix
-
num_cols
public int num_cols()- Specified by:
num_colsin classCeresSolver.SparseMatrix
-
num_nonzeros
public int num_nonzeros()- Specified by:
num_nonzerosin classCeresSolver.SparseMatrix
-
values
public double[] values()- Specified by:
valuesin classCeresSolver.SparseMatrix
-
mutable_values
public double[] mutable_values()- Specified by:
mutable_valuesin classCeresSolver.SparseMatrix
-
ToTripletSparseMatrix
-
block_structure
-
AppendRows
-
DeleteRowBlocks
public void DeleteRowBlocks(int delta_row_blocks)
-