SymEngine 0.4.0
New Functionality
- New parser based on bison and flex
- Initial support to generate symengine code for a matchpy expression
- Supporting symbols in evalf
- Reduced row echelon form
- count_ops to count operations of an expression
- Latex and MathML printing
- Saving and loading LLVM compiled functions
- Common subexpression elimination
- xeus-cling and binder support
- xreplace method
- New functions
dense_matrix_row_del
,dense_matrix_col_del
inC
Wrappers androw_insert
andcol_insert
in classDenseMatrix
- #1313 expand_as_exp()
member function is removed from derived classes ofTrigFunction
andHyperbolicFunction
and implemented using visitor design pattern - #1309as_real_imag
- #1310Polynomial Solvers
- #1296Floor
andCeiling
classes - #1297 and #1290Conjugate
class - #1295ConditionSet
- #1291Sign
class - #1287- Vector-specific methods
dot
andcross
- #1286 Dummy
class - #1284Relationals
- #1276, #1279, #1280Flint
wrappers forfactorization
- #1274- New functions
dense_matrix_row_join
,dense_matrix_col_join
inC
Wrappers - #1273 - Functions
column_exchange_dense
,row_join
,col_join
,row_del
andcol_del
in classDenseMatrix
- #1269 - New functions
vecbasic_set
,vecbasic_erase
,setbasic_erase
in CWrappers - #1264, #1272 - New functions
number_is_zero
,number_is_positive
,number_is_negative
,number_is_complex
in CWrappers - #1256
Breaking Changes
- SONAME updated to 0.4 (SONAME will pin to . for major version 0.)
complex_*real_part
,complex_*imaginary_part
are replaced by methodscomplex_base_real_part
andcomplex_base_imaginary_part
- #1263real_mpfr_is_zero
,complex_mpc_is_zero
is replaced by methodnumber_is_zero
- #1256basic_number_sign
is replaced by methodsnumber_is_zero
,number_is_positive
,number_is_negative
- #1256
Bug Fixes
- Additional comparison clause in
Dummy::compare
- #1304 - Add
oo
andzoo
to the parser - #1261 - Fix segmentation fault in
LLVMDoubleVisitor
- #1260 NaN
andinf
s inJuliaStrPrinter
- #1258- The base classes for inverse trigonometric and inverse hyperbolic functions are now
InverseTrigFunction
andInverseHyperbolicFunction
respectively. Base class forTrigFunction
andInverseTrigFunction
isTrigBase
. Similarly, base class forHyperbolicFunction
andInverseHyperbolicFunction
isHyperbolicBase
. #1309
And many other changes, here is a list of merged PRs not mentioned above:
People who contributed to the release:
- Srajan Garg
- Dirk Reusch
- Ranjith Kumar
- Isuru Fernando
- Jean-Paul Pelteret
- Shikhar Jaiswal
- Sumith Kulal
- Ondřej Čertík
- Jialin Ma
- Gerrit Ansmann
- Björn Dahlgren
- Nilay Pochhi
- Eeshan Gupta
- Ziyi Yan
- Andreas Humenberger
- Kieran Kaempen
- Clouds Flowing
- Sylvain Corlay
- Alan Hu
- Rajiv Ranjan Singh
- Francesco Bonazzi
- Simon Stelter