Package gov.nih.mipav.model.algorithms
Class CeresSolver.PartitionedMatrixView
- java.lang.Object
-
- gov.nih.mipav.model.algorithms.CeresSolver.PartitionedMatrixView
-
- Enclosing class:
- CeresSolver
class CeresSolver.PartitionedMatrixView extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private int
kEBlockSize
private int
kFBlockSize
private int
kRowBlockSize
private CeresSolver.BlockSparseMatrix
matrix_
private int
num_col_blocks_e_
private int
num_col_blocks_f_
private int
num_cols_e_
private int
num_cols_f_
private int
num_row_blocks_e_
-
Constructor Summary
Constructors Constructor Description PartitionedMatrixView(int kRowBlockSize, int kEBlockSize, int kFBlockSize, CeresSolver.BlockSparseMatrix matrix, int num_col_blocks_e)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CeresSolver.BlockSparseMatrix
CreateBlockDiagonalEtE()
CeresSolver.BlockSparseMatrix
CreateBlockDiagonalFtF()
private CeresSolver.BlockSparseMatrix
CreateBlockDiagonalMatrixLayout(int start_col_block, int end_col_block)
void
LeftMultiplyE(double[] x, double[] y)
void
LeftMultiplyF(double[] x, double[] y)
int
num_col_blocks_e()
int
num_col_blocks_f()
int
num_cols()
int
num_cols_e()
int
num_cols_f()
int
num_rows()
void
RightMultiplyE(double[] x, double[] y)
void
RightMultiplyF(double[] x, double[] y)
void
UpdateBlockDiagonalEtE(CeresSolver.BlockSparseMatrix block_diagonal)
void
UpdateBlockDiagonalFtF(CeresSolver.BlockSparseMatrix block_diagonal)
-
-
-
Field Detail
-
kRowBlockSize
private int kRowBlockSize
-
kEBlockSize
private int kEBlockSize
-
kFBlockSize
private int kFBlockSize
-
matrix_
private CeresSolver.BlockSparseMatrix matrix_
-
num_row_blocks_e_
private int num_row_blocks_e_
-
num_col_blocks_e_
private int num_col_blocks_e_
-
num_col_blocks_f_
private int num_col_blocks_f_
-
num_cols_e_
private int num_cols_e_
-
num_cols_f_
private int num_cols_f_
-
-
Constructor Detail
-
PartitionedMatrixView
public PartitionedMatrixView(int kRowBlockSize, int kEBlockSize, int kFBlockSize, CeresSolver.BlockSparseMatrix matrix, int num_col_blocks_e)
-
-
Method Detail
-
LeftMultiplyE
public void LeftMultiplyE(double[] x, double[] y)
-
LeftMultiplyF
public void LeftMultiplyF(double[] x, double[] y)
-
RightMultiplyE
public void RightMultiplyE(double[] x, double[] y)
-
RightMultiplyF
public void RightMultiplyF(double[] x, double[] y)
-
CreateBlockDiagonalEtE
public CeresSolver.BlockSparseMatrix CreateBlockDiagonalEtE()
-
CreateBlockDiagonalFtF
public CeresSolver.BlockSparseMatrix CreateBlockDiagonalFtF()
-
UpdateBlockDiagonalEtE
public void UpdateBlockDiagonalEtE(CeresSolver.BlockSparseMatrix block_diagonal)
-
UpdateBlockDiagonalFtF
public void UpdateBlockDiagonalFtF(CeresSolver.BlockSparseMatrix block_diagonal)
-
num_col_blocks_e
public int num_col_blocks_e()
-
num_col_blocks_f
public int num_col_blocks_f()
-
num_cols_e
public int num_cols_e()
-
num_cols_f
public int num_cols_f()
-
num_rows
public int num_rows()
-
num_cols
public int num_cols()
-
CreateBlockDiagonalMatrixLayout
private CeresSolver.BlockSparseMatrix CreateBlockDiagonalMatrixLayout(int start_col_block, int end_col_block)
-
-