MyMat operator()() { MyMat res(sz,sz); do gen.drawUniformMatrix(res,-10.0,10.0); while (res.isSingular(1e-4)); return res; }
inline CMatrixTemplateNumeric<T> operator()() { do gen.drawUniformMatrix(tmp,T(-3.0),T(3.0)); while (tmp.isSingular(eps)); res.multiply_AAt(tmp); return res; }