org.ejml.alg.dense.decomposition.chol
Class CholeskyDecompositionBlock64

java.lang.Object
  extended by org.ejml.alg.dense.decomposition.BaseDecompositionBlock64
      extended by org.ejml.alg.dense.decomposition.chol.CholeskyDecompositionBlock64
All Implemented Interfaces:
CholeskyDecomposition<DenseMatrix64F>, DecompositionInterface<DenseMatrix64F>

public class CholeskyDecompositionBlock64
extends BaseDecompositionBlock64
implements CholeskyDecomposition<DenseMatrix64F>

Wrapper around BlockCholeskyOuterForm that allows it to process DenseMatrix64F.

Author:
Peter Abeles

Field Summary
 
Fields inherited from class org.ejml.alg.dense.decomposition.BaseDecompositionBlock64
Ablock, alg, blockLength, tmp
 
Constructor Summary
CholeskyDecompositionBlock64(boolean lower)
           
 
Method Summary
 DenseMatrix64F getT(DenseMatrix64F T)
           Returns the triangular matrix from the decomposition.
 boolean isLower()
          If true the decomposition was for a lower triangular matrix.
 
Methods inherited from class org.ejml.alg.dense.decomposition.BaseDecompositionBlock64
convertBlockToRow, decompose, inputModified
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.ejml.alg.dense.decomposition.DecompositionInterface
decompose, inputModified
 

Constructor Detail

CholeskyDecompositionBlock64

public CholeskyDecompositionBlock64(boolean lower)
Method Detail

isLower

public boolean isLower()
Description copied from interface: CholeskyDecomposition
If true the decomposition was for a lower triangular matrix. If false it was for an upper triangular matrix.

Specified by:
isLower in interface CholeskyDecomposition<DenseMatrix64F>
Returns:
True if lower, false if upper.

getT

public DenseMatrix64F getT(DenseMatrix64F T)
Description copied from interface: CholeskyDecomposition

Returns the triangular matrix from the decomposition.

If an input is provided that matrix is used to write the results to. Otherwise a new matrix is created and the results written to it.

Specified by:
getT in interface CholeskyDecomposition<DenseMatrix64F>
Parameters:
T - If not null then the decomposed matrix is written here.
Returns:
A lower or upper triangular matrix.


Copyright © 2012. All Rights Reserved.