Feel++ 0.111.0-preview.14
Finite Element Embedded Library in C++
ginac.cpp File Reference
+ Include dependency graph for ginac.cpp:

Functions

matrix GiNaC::curl (ex const &f, std::vector< symbol > const &l)
 
matrix GiNaC::curl (matrix const &f, std::vector< symbol > const &l)
 
matrix GiNaC::diff (ex const &f, symbol const &l, const int n)
 
matrix GiNaC::diff (matrix const &f, symbol const &l, const int n)
 
matrix GiNaC::div (ex const &f, std::vector< symbol > const &l)
 
matrix GiNaC::div (matrix const &f, std::vector< symbol > const &l)
 
matrix GiNaC::grad (ex const &f, std::vector< symbol > const &l)
 
matrix GiNaC::grad (matrix const &f, std::vector< symbol > const &l)
 
matrix GiNaC::grad (std::string const &s, std::vector< symbol > const &l)
 
matrix GiNaC::laplacian (ex const &f, std::vector< symbol > const &l)
 
matrix GiNaC::laplacian (matrix const &f, std::vector< symbol > const &l)
 
matrix GiNaC::laplacian (std::string const &s, std::vector< symbol > const &l)
 
ex GiNaC::laplacian (std::string const &s, std::vector< symbol > const &l, std::vector< symbol > const &p)
 
std::pair< ex, std::vector< symbol > > GiNaC::parse (std::string const &str, std::string const &seps, std::vector< symbol > const &params)
 
ex GiNaC::parse (std::string const &str, std::vector< symbol > const &syms, std::vector< symbol > const &params)
 
std::string GiNaC::str (ex &&f)
 
std::string GiNaC::str (ex const &f)
 
std::string GiNaC::strsymbol (std::vector< symbol > const &f)
 
ex GiNaC::substitute (ex const &f, symbol const &s, const double val)
 
ex GiNaC::substitute (ex const &f, symbol const &s, ex const &g)
 
matrix GiNaC::substitute (matrix const &f, symbol const &s, const double val)
 
matrix GiNaC::substitute (matrix const &f, symbol const &s, ex const &g)
 
std::vector< std::pair< bool, double > > GiNaC::toNumericValues (ex const &expr)
 get real values of an expression (can be a list) if it is a numeric expression More...
 
int GiNaC::totalDegree (GiNaC::ex const &expr, std::vector< std::pair< GiNaC::symbol, Feel::uint16_type > > const &symbolsDegreeIn)
 
void GiNaC::totalDegreeImpl (std::vector< std::tuple< std::reference_wrapper< const GiNaC::symbol >, std::optional< GiNaC::ex >, std::vector< int >, Feel::uint16_type > > &symbolsDegree)
 

Detailed Description

Function Documentation

◆ toNumericValues()

std::vector< std::pair< bool, double > > GiNaC::toNumericValues ( ex const &  expr)

get real values of an expression (can be a list) if it is a numeric expression

Parameters
expr: the expression to test
Returns
vector of ( is numeric, value )

References GiNaC::toNumericValues().

Referenced by GiNaC::toNumericValues().