X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=check%2Fchecks.h;h=a705265d505bd0671ec8f83bac4c96aeecd49d9b;hp=02fb4eb8b0aa633beef859f53f07a651bc7abf71;hb=6a289cac851857096561ee8ecb32ee4ba8a28ac4;hpb=f4ea690a3f118bf364190f0ef3c3f6d2ccdf6206 diff --git a/check/checks.h b/check/checks.h index 02fb4eb8..a705265d 100644 --- a/check/checks.h +++ b/check/checks.h @@ -3,7 +3,7 @@ * Prototypes for all individual checks. */ /* - * 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,18 +23,20 @@ #ifndef CHECKS_H #define CHECKS_H -// For rand() and friends: -#include +#include +#include "config.h" #include "ginac.h" - -#ifndef NO_NAMESPACE_GINAC +using namespace std; using namespace GiNaC; -#endif // ndef NO_NAMESPACE_GINAC // prototypes for the expression generating functions in: const ex dense_univariate_poly(const symbol & x, unsigned degree); -const ex dense_bivariate_poly(const symbol & x1, const symbol & x2, unsigned degree); +const ex dense_bivariate_poly(const symbol & x1, const symbol & x2, + unsigned degree); +const ex sparse_tree(const symbol & x, const symbol & y, const symbol & z, + int level, + bool trig = false, bool rational = true, bool complex = false); // prototypes for all individual checks should be unsigned fcn(): unsigned check_numeric();