public static CholeskyDecomposition<DenseMatrix64F> chol( int matrixSize , boolean lower )
{
if( matrixSize < EjmlParameters.SWITCH_BLOCK64_CHOLESKY ) {
return new CholeskyDecompositionInner(lower);
} else if( EjmlParameters.MEMORY == EjmlParameters.MemoryUsage.FASTER ){
return new CholeskyDecompositionBlock64(lower);
} else {
return new CholeskyDecompositionBlock(EjmlParameters.BLOCK_WIDTH_CHOL);
}
}