La recherche a retourné 5 résultats

par Lephe
jeu. août 27, 2020 7:54 am
Forum : Giac
Sujet : Implicit product syntax and tracking variable assignments
Réponses : 2
Vues : 3013

Re: Implicit product syntax and tracking variable assignments

Thank you, it seems that the existing implicit product syntax captures most of the "natural" behavior, or at least enough to work until a warning is shown. For variable assignments, we'll experiment with a polling method and avoid tracking too many variables, it should be sufficient (and efficient e...
par Lephe
mer. août 05, 2020 4:16 pm
Forum : Giac
Sujet : Implicit product syntax and tracking variable assignments
Réponses : 2
Vues : 3013

Implicit product syntax and tracking variable assignments

For a CAS calculator project based on Giac (Symbolibre), we are building GUIs that use Giac as a backend and exploring the various ways we can input and output data with the library. We'd like some insight into Giac's behavior for two aspects in particular: Is the implicit product syntax supported? ...
par Lephe
mer. janv. 02, 2019 9:38 pm
Forum : Giac
Sujet : Giac API reference
Réponses : 5
Vues : 4067

Re: Giac API reference

Alright, I checked out sto() and managed to store pretty much anything in a gen declared as a name. Awesome! :lol: Then I tried to define a function as you said (pretty much what I had attempted before): gen f("f(x):=x^2-1", &ct); gen y("f(2)", &ct); eval(y, 1, &ct); /* f(2) */ This doesn't work (I ...
par Lephe
mer. janv. 02, 2019 8:59 pm
Forum : Giac
Sujet : Giac API reference
Réponses : 5
Vues : 4067

Re: Giac API reference

Thanks for your answer! I tried out the example program, which was the most precise thing I'd found. I was able to play around with a couple of functions, evaluate formally and with floating-points. Everything interacts very nicely with the input/output formatting! :lol: I think that I'll be able to...
par Lephe
mer. janv. 02, 2019 5:12 pm
Forum : Giac
Sujet : Giac API reference
Réponses : 5
Vues : 4067

Giac API reference

First steps here, hope I'm doing things right! :D I'd like to use Giac as a library in a project that involves basic computer algebra. You could say I have the specification of a minimal computer algebra language, and I want to interpret it while using Giac functions to do the calculations. Using th...