multivar_horner
multivar_horner copied to clipboard
python package implementing a multivariate Horner scheme for efficiently evaluating multivariate polynomials
Under ARM64 this error arises: `OSError: dlopen(/Users/jmichelf/github/multivar_horner/__pycache__/eval_poly_-757448186211189212.so, 0x0006): tried: '/Users/jmichelf/github/multivar_horner/__pycache__/eval_poly_-757448186211189212.so' (mach-o file, but is an incompatible architecture (have (x86_64), need (arm64e))) `
currently the factorisation progress has been coded in highly unefficient OOP style. move towards more pythonic functional paradigm use data classes as containers for the properties use only functions processing...
float128 is not available under arm64 architecture cf. https://github.com/vivarium-collective/vivarium-core/issues/196
At the moment, I have to evaluate the polynomial one at a time through this library. It is not possible to give multiple inputs at once through a 2D numpy...
a user might want to represent and evaluate multiple polynomials (different coefficients) with the same properties. This is useful e.g. for gradients (= partial derivative polynomial for each dimension)! add...
Optimise the factorisation such that it minimizes the numerical error during evaluation. take the magnitude of the coefficients... into account during factorization. The effects of Horner factorizations on the numerical...
Optimal Horner Factorisation A* search: The current heuristic to estimate the minimal number of required operations (lower bound) is to optimistic. This often causes every possible factorisation to be evaluated....
factorisation is comparatively slow since coded in pure python. find ways to optimise. e.g. code time critical factorisation modules in C(++), parallelisation...
optimise factor evaluation in order to save instructions ('factor factorisation'): a monomial factor consists of scalar factors and in turn some monomial factors consist of other monomial factors -> the...