Cadabra
Computer algebra system for field theory problems
Toggle main menu visibility
Loading...
Searching...
No Matches
core
properties
Integer.hh
Go to the documentation of this file.
1
2
#pragma once
3
4
#include "
Props.hh
"
5
6
namespace
cadabra
{
7
12
13
class
Integer
:
public
property
{
14
public
:
15
virtual
~Integer
() {};
16
virtual
std::string
name
()
const override
;
17
virtual
bool
parse
(
Kernel
&,
keyval_t
& keyvals)
override
;
18
// virtual bool parse(Ex&, Ex::iterator, Ex::iterator, keyval_t&);
19
virtual
void
display
(std::ostream&)
const
;
20
virtual
std::string
unnamed_argument
()
const override
21
{
22
return
"range"
;
23
};
24
25
Ex
from
,
to
,
difference
;
26
};
27
28
}
29
Props.hh
cadabra::Ex
Definition
Storage.hh:170
cadabra::Integer
Property indicating that a symbolic object always takes integer values.
Definition
Integer.hh:13
cadabra::Integer::display
virtual void display(std::ostream &) const
Definition
Integer.cc:50
cadabra::Integer::parse
virtual bool parse(Kernel &, keyval_t &keyvals) override
Definition
Integer.cc:14
cadabra::Integer::unnamed_argument
virtual std::string unnamed_argument() const override
Definition
Integer.hh:20
cadabra::Integer::difference
Ex difference
Definition
Integer.hh:25
cadabra::Integer::from
Ex from
Definition
Integer.hh:25
cadabra::Integer::name
virtual std::string name() const override
Definition
Integer.cc:9
cadabra::Integer::~Integer
virtual ~Integer()
Definition
Integer.hh:15
cadabra::Integer::to
Ex to
Definition
Integer.hh:25
cadabra::Kernel
Definition
Kernel.hh:15
cadabra::keyval_t
Arguments to properties get parsed into a keyval_t structure.
Definition
Props.hh:68
cadabra::property::property
property(bool hidden=false)
Definition
Props.cc:228
cadabra
Functions to handle the exchange properties of two or more symbols in a product.
Definition
Adjform.cc:83
Generated by
1.17.0