X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=check%2Fcheck_lsolve.cpp;h=59264d9d1cb4cf23b173d438a72db6dca27529d5;hp=1873bb2d70814fd3feb32c229e3934abc938e1ee;hb=3ab7092e925aba28498d7508f50da9f913dcffd2;hpb=db5765dc91202851739e196ba11bfccb0b3fe7bc diff --git a/check/check_lsolve.cpp b/check/check_lsolve.cpp index 1873bb2d..59264d9d 100644 --- a/check/check_lsolve.cpp +++ b/check/check_lsolve.cpp @@ -4,7 +4,7 @@ * symbolic equations. */ /* - * GiNaC Copyright (C) 1999-2000 Johannes Gutenberg University Mainz, Germany + * GiNaC Copyright (C) 1999-2001 Johannes Gutenberg University Mainz, Germany * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -23,178 +23,197 @@ #include "checks.h" +#if defined(HAVE_SSTREAM) +# include +#else +# include +#endif + static unsigned check_matrix_solve(unsigned m, unsigned n, unsigned p, - unsigned degree) + unsigned degree) { - const symbol a("a"); - matrix A(m,n); - matrix B(m,p); - // set the first min(m,n) rows of A and B - for (unsigned ro=0; (ro x; - matrix X(n,p); - for (unsigned i=0; i x; + matrix X(n,p); + for (unsigned i=0; i a; - vector x; - for (unsigned i=0; i a; + vector x; + for (unsigned i=0; i