X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=ginac%2Finifcns.h;h=0c1526c5aa2ddb859c662b1d6460b7c3f487ba59;hp=05043819e9deeceb6a42d54cc03c5140238399e9;hb=073bf40a73e419a3dbcb6dfa190947ce2cc3bdce;hpb=4d59c02d51fbf50ff24d616b00296aa4cbb1ea5e;ds=sidebyside diff --git a/ginac/inifcns.h b/ginac/inifcns.h index 05043819..0c1526c5 100644 --- a/ginac/inifcns.h +++ b/ginac/inifcns.h @@ -3,7 +3,7 @@ * Interface to GiNaC's initially known functions. */ /* - * GiNaC Copyright (C) 1999-2005 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 @@ -20,8 +20,8 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -#ifndef __GINAC_INIFCNS_H__ -#define __GINAC_INIFCNS_H__ +#ifndef GINAC_INIFCNS_H +#define GINAC_INIFCNS_H #include "numeric.h" #include "function.h" @@ -31,10 +31,19 @@ namespace GiNaC { /** Complex conjugate. */ DECLARE_FUNCTION_1P(conjugate_function) + +/** Real part. */ +DECLARE_FUNCTION_1P(real_part_function) + +/** Imaginary part. */ +DECLARE_FUNCTION_1P(imag_part_function) /** Absolute value. */ DECLARE_FUNCTION_1P(abs) +/** Step function. */ +DECLARE_FUNCTION_1P(step) + /** Complex sign. */ DECLARE_FUNCTION_1P(csgn) @@ -203,4 +212,4 @@ ex convert_H_to_Li(const ex& parameterlst, const ex& arg); } // namespace GiNaC -#endif // ndef __GINAC_INIFCNS_H__ +#endif // ndef GINAC_INIFCNS_H