Computer algebra system for field theory problems
Namespaces | Functions File Reference
#include <algorithm>
#include <iostream>
#include <limits>
#include <numeric>
#include "Adjform.hh"
#include "Cleanup.hh"
#include "Compare.hh"
#include "properties/IndexInherit.hh"
#include "properties/Symbol.hh"
#include "properties/Coordinate.hh"
#include "properties/Trace.hh"


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


int next_perm (std::vector< size_t > &term)
template<typename It , typename T >
size_t index_of (It begin, It end, const T &val, size_t offset=0)
size_t slots_to_pairs (size_t slots)
size_t ifactorial (size_t n, size_t den=1)
bool cadabra::is_coordinate (const Kernel &kernel, Ex::iterator it)
bool cadabra::is_index (const Kernel &kernel, Ex::iterator it, bool include_coordinates)
ProjectedAdjform cadabra::operator+ (ProjectedAdjform lhs, const ProjectedAdjform &rhs)
ProjectedAdjform cadabra::operator* (ProjectedAdjform lhs, const ProjectedAdjform::integer_type &rhs)
std::ostream & operator<< (std::ostream &os, const cadabra::Adjform &adjform)
std::ostream & operator<< (std::ostream &os, const cadabra::ProjectedAdjform &adjex)

Function Documentation

◆ ifactorial()

size_t ifactorial ( size_t  n,
size_t  den = 1 

◆ index_of()

template<typename It , typename T >
size_t index_of ( It  begin,
It  end,
const T &  val,
size_t  offset = 0 

◆ next_perm()

int next_perm ( std::vector< size_t > &  term)

◆ operator<<() [1/2]

std::ostream& operator<< ( std::ostream &  os,
const cadabra::Adjform adjform 

◆ operator<<() [2/2]

std::ostream& operator<< ( std::ostream &  os,
const cadabra::ProjectedAdjform adjex 

◆ slots_to_pairs()

size_t slots_to_pairs ( size_t  slots)