X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=ginac%2Foperators.h;h=3514c6ff59cfab66ab0e0035b669bbbb27c98f44;hp=9c37506d24f3a2f6fc57d4e555240ca97676f8a3;hb=116aa059418afd8f6a36ffa9084ebcd858a5ab0f;hpb=e7cc6a764ff67b5885d6633385fac23ccc1dc9a7 diff --git a/ginac/operators.h b/ginac/operators.h index 9c37506d..3514c6ff 100644 --- a/ginac/operators.h +++ b/ginac/operators.h @@ -3,7 +3,7 @@ * Interface to GiNaC's overloaded operators. */ /* - * GiNaC Copyright (C) 1999-2002 Johannes Gutenberg University Mainz, Germany + * GiNaC Copyright (C) 1999-2011 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 @@ -17,11 +17,11 @@ * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -#ifndef __GINAC_OPERATORS_H__ -#define __GINAC_OPERATORS_H__ +#ifndef GINAC_OPERATORS_H +#define GINAC_OPERATORS_H #include @@ -85,6 +85,20 @@ const relational operator>=(const ex & lh, const ex & rh); std::ostream & operator<<(std::ostream & os, const ex & e); std::istream & operator>>(std::istream & is, ex & e); +// input/output stream manipulators +std::ostream & dflt(std::ostream & os); +std::ostream & latex(std::ostream & os); +std::ostream & python(std::ostream & os); +std::ostream & python_repr(std::ostream & os); +std::ostream & tree(std::ostream & os); +std::ostream & csrc(std::ostream & os); // same as csrc_double +std::ostream & csrc_float(std::ostream & os); +std::ostream & csrc_double(std::ostream & os); +std::ostream & csrc_cl_N(std::ostream & os); + +std::ostream & index_dimensions(std::ostream & os); +std::ostream & no_index_dimensions(std::ostream & os); + } // namespace GiNaC -#endif // ndef __GINAC_OPERATORS_H__ +#endif // ndef GINAC_OPERATORS_H