|
codac 2.0.0
|
#include <functional>#include <pybind11/embed.h>#include "codac2_sympy.h"#include "codac2_analytic_flat_input_layout.h"Go to the source code of this file.
Classes | |
| class | codac2::symbolic::detail::FlatSymbolTable |
| Symbol table associated with a flattened analytic input domain. More... | |
| class | codac2::symbolic::detail::SympyExporter |
| Exports Codac scalar expressions to SymPy expressions. More... | |
| class | codac2::symbolic::detail::SympyImporter |
| Imports SymPy scalar expressions into Codac scalar expressions. More... | |
| class | codac2::symbolic::detail::ScalarBridgeContext |
| Context gathering the bridge objects needed for one scalar transformation. More... | |
Namespaces | |
| namespace | codac2 |
Typedefs | |
| using | codac2::symbolic::detail::SympyTransform |
| SymPy transformation applied to an exported scalar expression. | |
Functions | |
| void | codac2::symbolic::detail::ensure_python_runtime () |
| Ensures that the embedded Python runtime is initialized. | |
| const pybind11::object & | codac2::symbolic::detail::import_module (const char *module_name) |
| Imports a Python module. | |
| const pybind11::object & | codac2::symbolic::detail::import_sympy () |
| Imports the SymPy module. | |
| const pybind11::object & | codac2::symbolic::detail::import_polyfuncs () |
| Imports the SymPy polyfuncs module. | |
| const pybind11::object & | codac2::symbolic::detail::import_builtins () |
| Imports the Python builtins module. | |
| pybind11::object | codac2::symbolic::detail::normalize_sympy_expr (const pybind11::object &sympy, pybind11::object expr, bool do_expand=true) |
| Normalizes a SymPy expression before import into Codac. | |
| ScalarExpr | codac2::symbolic::detail::transform_scalar_expr (const FunctionArgsList &args, const ScalarExpr &y, const SympyTransform &transform, bool do_expand=true) |
| Applies a SymPy transformation to a Codac scalar expression. | |