Cadabra
Computer algebra system for field theory problems
Classes | Namespaces | Typedefs | Functions
Storage.hh File Reference
#include <cstddef>
#include <iostream>
#include <gmpxx.h>
#include <string>
#include <vector>
#include <set>
#include <map>
#include <stdint.h>
#include <assert.h>
#include <initializer_list>
#include "tree.hh"

Go to the source code of this file.

Classes

class  cadabra::str_node
 
struct  cadabra::str_node::flag_t
 
class  cadabra::Ex
 
class  cadabra::nset_it_less
 

Namespaces

 cadabra
 Functions to handle the exchange properties of two or more symbols in a product.
 

Typedefs

typedef mpq_class cadabra::multiplier_t
 
typedef std::set< std::string > cadabra::nset_t
 
typedef std::set< multiplier_tcadabra::rset_t
 
typedef uintptr_t cadabra::hashval_t
 

Functions

long cadabra::to_long (multiplier_t mul)
 
std::string cadabra::to_string (long num)
 
void cadabra::multiply (rset_t::iterator &num, multiplier_t fac)
 
void cadabra::add (rset_t::iterator &num, multiplier_t fac)
 
void cadabra::zero (rset_t::iterator &num)
 
void cadabra::one (rset_t::iterator &num)
 
void cadabra::flip_sign (rset_t::iterator &num)
 
void cadabra::half (rset_t::iterator &num)
 
template<typename T >
bool cadabra::is_in (const T &val, const std::initializer_list< T > &list)
 
std::ostream & operator<< (std::ostream &, const cadabra::Ex &)
 
std::ostream & operator<< (std::ostream &, cadabra::Ex::iterator)
 

Function Documentation

◆ operator<<()

std::ostream& operator<< ( std::ostream &  ,
cadabra::Ex::iterator   
)