{
final DoubleMatrix2D matrix = DoubleFactory2D.sparse.make(size,size);
matrix.assign(randomGenerator);
final DoubleMatrix1D b = DoubleFactory1D.dense.make(size);
b.assign(randomGenerator);
final LSolver solver = new LSolver(matrix,DoubleFactory1D.dense.make(matrix.rows(), 0));
boolean singular = false;
try
{
solver.solveExternally();