26#ifndef __NESTEDSUMS_LETTER_H__
27#define __NESTEDSUMS_LETTER_H__
29#include "ginac/ginac.h"
51 letter(
const GiNaC::ex & l,
const GiNaC::ex & d);
52 letter(
const GiNaC::ex & l,
const GiNaC::ex & d,
const GiNaC::ex & i);
56 void archive(GiNaC::archive_node &node)
const override;
57 void read_archive(
const GiNaC::archive_node &node, GiNaC::lst &sym_lst)
override;
59 GiNaC::return_type_t return_type_tinfo()
const override;
61 void print(
const GiNaC::print_context & c,
unsigned level = 0)
const override;
62 GiNaC::ex
eval()
const override;
67GINAC_DECLARE_UNARCHIVER(
letter);
76 return (
new letter(l,d))->setflag(GiNaC::status_flags::dynallocated);
84inline GiNaC::ex
create_letter(
const GiNaC::ex & l,
const GiNaC::ex & d,
const GiNaC::ex & i)
86 return (
new letter(l,d,i))->setflag(GiNaC::status_flags::dynallocated);
A basic_letter is an element of an alphabet.
Definition basic_letter.h:50
A letter is a basic_letter with offset=0.
Definition letter.h:45
GiNaC::ex concat_speedy(const GiNaC::ex &l) const override
Definition letter.cc:155
GiNaC::ex eval() const override
Definition letter.cc:130
Definition basic_letter.cc:35
GiNaC::ex create_letter(const GiNaC::ex &l, const GiNaC::ex &d)
Definition letter.h:74