SyFi  0.3
ginac_tools.cpp File Reference
#include "ginac_tools.h"
#include "symbol_factory.h"
#include <ginac/ginac.h>
#include <iostream>
#include <sstream>
#include <fstream>
#include <stdexcept>

Go to the source code of this file.

Classes

class  SyFi::SymbolMapBuilderVisitor
class  SyFi::SymbolCounterVisitor
class  SyFi::ExStatsVisitor

Namespaces

namespace  SyFi

Functions

GiNaC::lst SyFi::cross (GiNaC::lst &v1, GiNaC::lst &v2)
GiNaC::ex SyFi::inner (GiNaC::ex a, GiNaC::ex b, bool transposed)
GiNaC::ex SyFi::inner (GiNaC::lst v1, GiNaC::lst v2)
GiNaC::ex SyFi::inner (GiNaC::exvector &v1, GiNaC::exvector &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::visitor_subst_pow (GiNaC::ex e, GiNaC::exmap &map, ex_int_map &intmap, string a)
void SyFi::check_visitor (GiNaC::ex e, GiNaC::lst &exlist)
GiNaC::ex SyFi::homogenous_pol (unsigned int order, unsigned int nsd, const string a)
GiNaC::lst SyFi::homogenous_polv (unsigned int no_fields, unsigned int order, unsigned int nsd, const string a)
GiNaC::ex SyFi::pol (unsigned int order, unsigned int nsd, const string a)
GiNaC::lst SyFi::polv (unsigned int no_fields, unsigned int order, unsigned int nsd, const string a)
GiNaC::ex SyFi::polb (unsigned int order, unsigned int nsd, const string a)
GiNaC::lst SyFi::coeffs (GiNaC::lst pols)
GiNaC::lst SyFi::coeffs (GiNaC::ex pol)
GiNaC::exvector SyFi::coeff (GiNaC::ex pol)
GiNaC::exmap SyFi::pol2basisandcoeff (GiNaC::ex e, GiNaC::ex s)
GiNaC::exmap SyFi::pol2basisandcoeff (GiNaC::ex e)
GiNaC::ex SyFi::legendre1D (const GiNaC::symbol x, unsigned int n)
GiNaC::ex SyFi::legendre (unsigned int order, unsigned int nsd, const string s)
GiNaC::lst SyFi::legendrev (unsigned int no_fields, unsigned int order, unsigned int nsd, const string a)
bool SyFi::compare (const ex &e, const string &s)
void SyFi::EQUAL_OR_DIE (const ex &e, const string &s)
exhashmap< int > SyFi::count_symbols (const ex &e)
ex SyFi::extract_symbols (const ex &e)
void SyFi::collect_symbols (const GiNaC::ex &e, exset &v)
GiNaC::exvector SyFi::collect_symbols (const GiNaC::ex &e)
bool SyFi::compare_archives (const string &first, const string &second, std::ostream &os)
ExStats SyFi::count_ops (const ex &e)
ex SyFi::replace_powers (const ex &ein, const list< symbol > &symbols, list< symexpair > &sel, const string &tmpsymbolprefix)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator