codac 2.0.0
Loading...
Searching...
No Matches
codac2_sympy.h File Reference
#include <stdexcept>
#include "codac2_AnalyticFunction.h"
Include dependency graph for codac2_sympy.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  codac2

Functions

AnalyticFunction< ScalarType > codac2::sympy_simplify (const AnalyticFunction< ScalarType > &f)
 Symbolically simplifies a scalar analytic function.
AnalyticFunction< VectorType > codac2::sympy_simplify (const AnalyticFunction< VectorType > &f)
 Symbolically simplifies a vector analytic function componentwise.
AnalyticFunction< MatrixType > codac2::sympy_simplify (const AnalyticFunction< MatrixType > &f)
 Symbolically simplifies a matrix analytic function componentwise.
AnalyticFunction< ScalarType > codac2::sympy_horner (const AnalyticFunction< ScalarType > &f)
 Rewrites a scalar analytic function in Horner form when possible.
AnalyticFunction< VectorType > codac2::sympy_horner (const AnalyticFunction< VectorType > &f)
 Rewrites a vector analytic function in Horner form componentwise.
AnalyticFunction< MatrixType > codac2::sympy_horner (const AnalyticFunction< MatrixType > &f)
 Rewrites a matrix analytic function in Horner form componentwise.
AnalyticFunction< ScalarType > codac2::sympy_partial_diff (const AnalyticFunction< ScalarType > &f, Index flat_input_index)
 Returns the symbolic partial derivative of a scalar function.
AnalyticFunction< ScalarType > codac2::sympy_partial_diff (const AnalyticFunction< ScalarType > &f, const ScalarVar &x)
 Returns the symbolic partial derivative of a scalar function with respect to a scalar input variable.
AnalyticFunction< ScalarType > codac2::sympy_partial_diff (const AnalyticFunction< ScalarType > &f, const ScalarExpr &x)
 Returns the symbolic partial derivative of a scalar function with respect to a scalar input expression.
AnalyticFunction< ScalarType > codac2::sympy_diff (const AnalyticFunction< ScalarType > &f)
 Returns the symbolic derivative of a scalar univariate function.
AnalyticFunction< ScalarType > codac2::sympy_diff (const AnalyticFunction< ScalarType > &f, const ScalarVar &x)
 Returns the symbolic first derivative of a scalar function with respect to a scalar input variable.
AnalyticFunction< ScalarType > codac2::sympy_diff (const AnalyticFunction< ScalarType > &f, const ScalarExpr &x)
 Returns the symbolic first derivative of a scalar function with respect to a scalar input expression.
AnalyticFunction< ScalarType > codac2::sympy_diff (const AnalyticFunction< ScalarType > &f, Index order)
 Returns the symbolic derivative of given order for a scalar univariate function.
AnalyticFunction< ScalarType > codac2::sympy_diff (const AnalyticFunction< ScalarType > &f, const ScalarVar &x, Index order)
 Returns the symbolic derivative of given order for a scalar function with respect to a scalar input variable.
AnalyticFunction< ScalarType > codac2::sympy_diff (const AnalyticFunction< ScalarType > &f, const ScalarExpr &x, Index order)
 Returns the symbolic derivative of given order for a scalar function with respect to a scalar input expression.
AnalyticFunction< VectorType > codac2::sympy_gradient (const AnalyticFunction< ScalarType > &f)
 Returns the symbolic gradient of a scalar function.
AnalyticFunction< MatrixType > codac2::sympy_hessian (const AnalyticFunction< ScalarType > &f)
 Returns the symbolic Hessian matrix of a scalar function.
AnalyticFunction< MatrixType > codac2::sympy_diff (const AnalyticFunction< VectorType > &f)
 Returns the symbolic Jacobian matrix of a vector function.
AnalyticFunction< ScalarType > codac2::sympy_series (const AnalyticFunction< ScalarType > &f, double center, Index order)
 Returns a truncated Taylor series of a scalar univariate function.
AnalyticFunction< ScalarType > codac2::sympy_series (const AnalyticFunction< ScalarType > &f, const ScalarVar &x, double center, Index order)
 Returns a truncated Taylor series of a scalar function with respect to a scalar input variable.
AnalyticFunction< ScalarType > codac2::sympy_series (const AnalyticFunction< ScalarType > &f, const ScalarExpr &x, double center, Index order)
 Returns a truncated Taylor series of a scalar function with respect to a scalar input expression.
bool codac2::sympy_equal (const AnalyticFunction< ScalarType > &f, const AnalyticFunction< ScalarType > &g)
 Tests symbolic equality of two scalar analytic functions through SymPy.
bool codac2::sympy_equal (const AnalyticFunction< VectorType > &f, const AnalyticFunction< VectorType > &g)
 Tests symbolic equality of two vector analytic functions through SymPy.
bool codac2::sympy_equal (const AnalyticFunction< MatrixType > &f, const AnalyticFunction< MatrixType > &g)
 Tests symbolic equality of two matrix analytic functions through SymPy.

Detailed Description

Date
2026
Author
Simon Rohou, Maƫl Godard
License: GNU Lesser General Public License (LGPL)