Add jet_poly example with total derivative#2451
Add jet_poly example with total derivative#2451rburing wants to merge 1 commit intoflintlib:mainfrom
jet_poly example with total derivative#2451Conversation
| elif test "$1" = "jet_poly"; | ||
| then | ||
| echo "jet_poly.....SKIPPED" |
There was a problem hiding this comment.
Can you add a "proper" test for this?
|
Personally I would like to be able to use this functionality to calculate large expressions like in my Ph.D. thesis (but faster): The API in the example is pretty small but effective: typedef jet_ctx_struct jet_ctx_t[1];
void jet_ctx_init(jet_ctx_t jctx, const char** base_vars, slong base_nvars, const char** fibre_vars, slong fibre_nvars, slong max_diff_order);
void jet_ctx_clear(jet_ctx_t jctx);
void fmpq_mpoly_jet_total_derivative(fmpq_mpoly_t res, const fmpq_mpoly_t f, slong base_var, fmpq_mpoly_ctx_t ctx, jet_ctx_t jctx);The Is this something that would be of interest for inclusion in the library (rather than in an example)? |
Output:
Comments welcome. Maybe a part of this could be interesting to have in the library?