SyFi  0.3
ginac_tools.h File Reference
#include <string>
#include <iostream>
#include <map>
#include <ginac/ginac.h>
#include "utilities.h"

Go to the source code of this file.

Classes

class  SyFi::ExStats

Namespaces

namespace  SyFi

Functions

bool SyFi::compare (const GiNaC::ex &e, const std::string &s)
void SyFi::EQUAL_OR_DIE (const GiNaC::ex &e, const std::string &s)
bool SyFi::compare_archives (const std::string &first, const std::string &second, std::ostream &os=std::cout)
GiNaC::ex SyFi::inner (GiNaC::ex a, GiNaC::ex b, bool transposed)
GiNaC::ex SyFi::inner (GiNaC::exvector &v1, GiNaC::exvector &v2)
GiNaC::ex SyFi::inner (GiNaC::lst v1, GiNaC::lst v2)
GiNaC::lst SyFi::cross (GiNaC::lst &v1, GiNaC::lst &v2)
GiNaC::lst SyFi::matvec (GiNaC::matrix &M, GiNaC::lst &x)
GiNaC::ex SyFi::matvec (GiNaC::ex A, GiNaC::ex x)
GiNaC::lst SyFi::ex2equations (GiNaC::ex rel)
GiNaC::lst SyFi::collapse (GiNaC::lst l)
GiNaC::matrix SyFi::equations2matrix (const GiNaC::ex &eqns, const GiNaC::ex &symbols)
void SyFi::matrix_from_equations (const GiNaC::ex &eqns, const GiNaC::ex &symbols, GiNaC::matrix &A, GiNaC::matrix &b)
GiNaC::ex SyFi::lst_to_matrix2 (const GiNaC::lst &l)
GiNaC::lst SyFi::matrix_to_lst2 (const GiNaC::ex &m)
GiNaC::lst SyFi::lst_equals (GiNaC::ex a, GiNaC::ex b)
int SyFi::find (GiNaC::ex e, GiNaC::lst list)
void SyFi::check_visitor (GiNaC::ex e, GiNaC::lst &exlist)
void SyFi::visitor_subst_pow (GiNaC::ex e, GiNaC::exmap &map, ex_int_map &intmap, std::string a)
GiNaC::ex SyFi::pol (unsigned int order, unsigned int nsd, const std::string a)
GiNaC::lst SyFi::polv (unsigned int no_fields, unsigned int order, unsigned int nsd, const std::string a)
GiNaC::ex SyFi::polb (unsigned int order, unsigned int nsd, const std::string a)
GiNaC::ex SyFi::homogenous_pol (unsigned int order, unsigned int nsd, const std::string a)
GiNaC::lst SyFi::homogenous_polv (unsigned int no_fields, unsigned int order, unsigned int nsd, const std::string a)
GiNaC::ex SyFi::legendre (unsigned int order, unsigned int nsd, const std::string a)
GiNaC::lst SyFi::legendrev (unsigned int no_fields, unsigned int order, unsigned int nsd, const std::string a)
GiNaC::exvector SyFi::coeff (GiNaC::ex pol)
GiNaC::lst SyFi::coeffs (GiNaC::ex pol)
GiNaC::lst SyFi::coeffs (GiNaC::lst pols)
GiNaC::exmap SyFi::pol2basisandcoeff (GiNaC::ex e)
GiNaC::exmap SyFi::pol2basisandcoeff (GiNaC::ex e, GiNaC::ex s)
void SyFi::collect_symbols (const GiNaC::ex &e, exset &v)
GiNaC::exvector SyFi::collect_symbols (const GiNaC::ex &e)
GiNaC::exhashmap< int > SyFi::count_symbols (const GiNaC::ex &e)
GiNaC::ex SyFi::extract_symbols (const GiNaC::ex &e)
ExStats SyFi::count_ops (const GiNaC::ex &e)
GiNaC::ex SyFi::replace_powers (const GiNaC::ex &e, const std::list< GiNaC::symbol > &symbols, std::list< symexpair > &sel, const std::string &tmpsymbolprefix="p_")
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator