![]() |
Cadabra
Computer algebra system for field theory problems
|
#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"Namespaces | |
| namespace | cadabra |
| Functions to handle the exchange properties of two or more symbols in a product. | |
Functions | |
| 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) |
| size_t ifactorial | ( | size_t | n, |
| size_t | den = 1 |
||
| ) |
| size_t index_of | ( | It | begin, |
| It | end, | ||
| const T & | val, | ||
| size_t | offset = 0 |
||
| ) |
| int next_perm | ( | std::vector< size_t > & | term | ) |
| std::ostream & operator<< | ( | std::ostream & | os, |
| const cadabra::Adjform & | adjform | ||
| ) |
| std::ostream & operator<< | ( | std::ostream & | os, |
| const cadabra::ProjectedAdjform & | adjex | ||
| ) |
| size_t slots_to_pairs | ( | size_t | slots | ) |