Function symengine_have_component(const char *)

Function Documentation

int symengine_have_component(const char *c)

Returns 1 if a specific component is installed and 0 if not. Component can be “mpfr”, “flint”, “arb”, “mpc”, “ecm”, “primesieve”, “piranha”, “boost”, “pthread”, “llvm” or “llvm_long_double” (all in lowercase). This function, using string comparison, was implemented for particular libraries that do not provide header access (i.e. SymEngine.jl and other related shared libraries). Avoid usage while having access to the headers. Instead simply use HAVE_SYMENGINE_MPFR and other related macros directly.