26#ifndef __NESTEDSUMS_HARMONIC_SUM_H__
27#define __NESTEDSUMS_HARMONIC_SUM_H__
29#include "ginac/ginac.h"
55 harmonic_sum(
const GiNaC::ex & nc,
const GiNaC::ex & llc);
59 void archive(GiNaC::archive_node &node)
const override;
60 void read_archive(
const GiNaC::archive_node &node, GiNaC::lst &sym_lst)
override;
62 GiNaC::return_type_t return_type_tinfo()
const override;
64 void print(
const GiNaC::print_context & c,
unsigned level = 0)
const override;
65 GiNaC::ex
eval()
const override;
68 GiNaC::ex
shuffle_exvector(
const GiNaC::exvector & Z0,
const GiNaC::exvector & Z1,
const GiNaC::exvector & Z2)
const override;
70 GiNaC::ex
set_index(
const GiNaC::ex & i)
const override;
89 return (
new harmonic_sum(nc,llc))->setflag(GiNaC::status_flags::dynallocated);
Ssums form an algebra.
Definition Ssum.h:56
A harmonic sum is a special case of a Ssum.
Definition harmonic_sum.h:49
GiNaC::ex shift_plus_one(void) const override
Definition harmonic_sum.cc:284
GiNaC::ex shift_minus_one(void) const override
Definition harmonic_sum.cc:294
GiNaC::ex remove_first_letter(void) const override
Definition harmonic_sum.cc:393
GiNaC::ex adjust_upper_limit_upwards(const GiNaC::ex &i) const override
Definition harmonic_sum.cc:352
GiNaC::ex eval() const override
Definition harmonic_sum.cc:157
GiNaC::ex adjust_upper_limit_downwards(const GiNaC::ex &i) const override
Definition harmonic_sum.cc:316
GiNaC::ex set_index(const GiNaC::ex &i) const override
Definition harmonic_sum.cc:274
GiNaC::ex shuffle_exvector(const GiNaC::exvector &Z0, const GiNaC::exvector &Z1, const GiNaC::exvector &Z2) const override
Definition harmonic_sum.cc:223
GiNaC::ex convert_to_Zsum_exvector(const GiNaC::exvector &Z0, const GiNaC::exvector &Z1) const override
Definition harmonic_sum.cc:178
GiNaC::ex adjust_upper_limit_plus_one(void) const override
Definition harmonic_sum.cc:378
Definition basic_letter.cc:35
ex create_harmonic_sum_with_ones(const ex &n, const int &k)
Definition harmonic_sum.cc:443
ex create_harmonic_sum_from_exvector(const ex &nc, const exvector &v)
Definition harmonic_sum.cc:462
GiNaC::ex create_harmonic_sum(const GiNaC::ex &nc, const GiNaC::ex &llc)
Definition harmonic_sum.h:87