Package gov.nih.mipav.model.algorithms
Class CeresSolver.BlockRandomAccessDenseMatrix
- java.lang.Object
-
- gov.nih.mipav.model.algorithms.CeresSolver.BlockRandomAccessMatrix
-
- gov.nih.mipav.model.algorithms.CeresSolver.BlockRandomAccessDenseMatrix
-
- Enclosing class:
- CeresSolver
class CeresSolver.BlockRandomAccessDenseMatrix extends CeresSolver.BlockRandomAccessMatrix
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Vector<java.lang.Integer>
block_layout_
private CeresSolver.CellInfo[]
cell_infos_
private int
num_rows_
private double[]
values_
-
Constructor Summary
Constructors Constructor Description BlockRandomAccessDenseMatrix(java.util.Vector<java.lang.Integer> blocks)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CeresSolver.CellInfo
GetCell(int row_block_id, int col_block_id, int[] row, int[] col, int[] row_stride, int[] col_stride)
double[]
mutable_values()
int
num_cols()
int
num_rows()
void
SetZero()
double[]
values()
-
-
-
Field Detail
-
num_rows_
private int num_rows_
-
block_layout_
private java.util.Vector<java.lang.Integer> block_layout_
-
values_
private double[] values_
-
cell_infos_
private CeresSolver.CellInfo[] cell_infos_
-
-
Method Detail
-
GetCell
public CeresSolver.CellInfo GetCell(int row_block_id, int col_block_id, int[] row, int[] col, int[] row_stride, int[] col_stride)
- Specified by:
GetCell
in classCeresSolver.BlockRandomAccessMatrix
-
SetZero
public void SetZero()
- Specified by:
SetZero
in classCeresSolver.BlockRandomAccessMatrix
-
num_rows
public int num_rows()
- Specified by:
num_rows
in classCeresSolver.BlockRandomAccessMatrix
-
num_cols
public int num_cols()
- Specified by:
num_cols
in classCeresSolver.BlockRandomAccessMatrix
-
values
public double[] values()
-
mutable_values
public double[] mutable_values()
-
-