Package gov.nih.mipav.model.algorithms
Class CeresSolver.SparseMatrix
- java.lang.Object
-
- gov.nih.mipav.model.algorithms.CeresSolver.LinearOperator
-
- gov.nih.mipav.model.algorithms.CeresSolver.SparseMatrix
-
- Direct Known Subclasses:
CeresSolver.BlockSparseMatrix
,CeresSolver.CompressedRowSparseMatrix
,CeresSolver.DenseSparseMatrix
,CeresSolver.TripletSparseMatrix
- Enclosing class:
- CeresSolver
abstract class CeresSolver.SparseMatrix extends CeresSolver.LinearOperator
-
-
Constructor Summary
Constructors Constructor Description SparseMatrix()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract void
LeftMultiply(double[] x, double[] y)
abstract double[]
mutable_values()
abstract int
num_cols()
abstract int
num_nonzeros()
abstract int
num_rows()
abstract void
RightMultiply(double[] x, double[] y)
void
RightMultiply(java.util.Vector<java.lang.Double> x, java.util.Vector<java.lang.Double> y)
abstract void
ScaleColumns(double[] scale)
void
ScaleColumns(java.util.Vector<java.lang.Double> scale)
abstract void
SetZero()
abstract void
SquaredColumnNorm(double[] x)
void
SquaredColumnNorm(java.util.Vector<java.lang.Double> x)
abstract Jama.Matrix
ToDenseMatrix()
abstract void
ToTextFile(java.io.File file)
abstract double[]
values()
-
-
-
Method Detail
-
RightMultiply
public void RightMultiply(java.util.Vector<java.lang.Double> x, java.util.Vector<java.lang.Double> y)
-
RightMultiply
public abstract void RightMultiply(double[] x, double[] y)
- Specified by:
RightMultiply
in classCeresSolver.LinearOperator
-
LeftMultiply
public abstract void LeftMultiply(double[] x, double[] y)
- Specified by:
LeftMultiply
in classCeresSolver.LinearOperator
-
SquaredColumnNorm
public void SquaredColumnNorm(java.util.Vector<java.lang.Double> x)
-
SquaredColumnNorm
public abstract void SquaredColumnNorm(double[] x)
-
ScaleColumns
public void ScaleColumns(java.util.Vector<java.lang.Double> scale)
-
ScaleColumns
public abstract void ScaleColumns(double[] scale)
-
SetZero
public abstract void SetZero()
-
ToDenseMatrix
public abstract Jama.Matrix ToDenseMatrix()
-
ToTextFile
public abstract void ToTextFile(java.io.File file)
-
mutable_values
public abstract double[] mutable_values()
-
values
public abstract double[] values()
-
num_rows
public abstract int num_rows()
- Specified by:
num_rows
in classCeresSolver.LinearOperator
-
num_cols
public abstract int num_cols()
- Specified by:
num_cols
in classCeresSolver.LinearOperator
-
num_nonzeros
public abstract int num_nonzeros()
-
-