* Implementation of GiNaC's initially known functions. */
/*
- * GiNaC Copyright (C) 1999-2008 Johannes Gutenberg University Mainz, Germany
+ * GiNaC Copyright (C) 1999-2009 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
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <vector>
-#include <stdexcept>
-
#include "inifcns.h"
#include "ex.h"
#include "constant.h"
#include "symmetry.h"
#include "utils.h"
+#include <stdexcept>
+#include <vector>
+
namespace GiNaC {
//////////
evalf_func(Li2_evalf).
derivative_func(Li2_deriv).
series_func(Li2_series).
- latex_name("\\mbox{Li}_2"));
+ latex_name("\\mathrm{Li}_2"));
//////////
// trilogarithm
}
REGISTER_FUNCTION(Li3, eval_func(Li3_eval).
- latex_name("\\mbox{Li}_3"));
+ latex_name("\\mathrm{Li}_3"));
//////////
// Derivatives of Riemann's Zeta-function zetaderiv(0,x)==zeta(x)
if (y.is_integer()) {
if (y.is_nonneg_integer()) {
const unsigned N = y.to_int();
- if (N == 0) return _ex0;
+ if (N == 0) return _ex1;
if (N == 1) return x;
ex t = x.expand();
for (unsigned i = 2; i <= N; ++i)