Functions defined piecewise
Gradgen v0.5.2 brings functions defined piecewise using if_else. Moreover, gradgen allows the differentiation of these functions.
Gradgen v0.5.2 brings functions defined piecewise using if_else. Moreover, gradgen allows the differentiation of these functions.
Gradgen v0.5.1 brings second-order cones (SOCs), which are useful in convex optimization. It also brings significant improvements in the generated code leading to a more "economic" allocation of workspace memory. Earlier, workspace would almost always be required, whereas now we check whether the output variable can serve as workspace. More thorough unit testing is also done (we now have 538 unit tests running on GitHub Actions). This includes integration tests where we compare the results obtained by gradgen to sympy.
Gradgen v0.5.0 brings significant changes and new functionality. Most importantly, it brings us very close to a full integration with OpEn, this means that:
#[no-std]),
safe, with support for both single and double precision arithmeticWelcome to this brand new website of gradgen: your Python module for automatic differentiation and truly embedded Rust code generation.
Gradgen v0.3 brings two significant changes:
#[no_std] so you can use them directly in your embedded applications