Java code that solve linear system by conjugate gradient method.