Abstract:
|
'symengine' is a new R package designed with an effective and user-friendly interface for symbolic manipulation. It empowers a variety of tasks such as constructing and manipulating symbolic expressions, calculating derivative, arbitrary precision arithmetic for integers and floating-point numbers, code generation (e.g. C, LaTex), solving symbolic equations, working with symbolic vector and matrix, and generating R function for numeric calculation. Previously, such features were either lacking or hard to use in the R language for statistical computing. The 'symengine' R packages aims to fill this gap and benefit both users and R package developers in relevant fields. As an example application, 'symengine' could be used to conveniently defining a system of ordinary differential equations with symbolic expressions and generating C++ code on the fly for solving the system. As the project is evolving, new features like simplification and integral will be implemented in future.
|