public ILinearSystem linearSolver(IDoubleArray A, IDoubleArray b, String algoName)
{
ILinearSystem linearSystem = null;
if (algoName.equals(LinearSystemEnum.DENSE_QR.name()))
{
linearSystem = new RealLinearSystem();
}
else if (algoName.equals(LinearSystemEnum.SPARSE_MTJ_CG.name()))
{
linearSystem = new RealSparseLinearSystem(RealSparseLinearSystem.CG);
}