2010 Ti Nspire Faster than G2 HP Prime
|
09-18-2022, 07:50 AM
Post: #6
|
|||
|
|||
RE: 2010 Ti Nspire Faster than G2 HP Prime
Everybody can look at the source code of giac and see what happens here, let me explain how. Untar the source code (https://www-fourier.univ-grenoble-alpes....stable.tgz), go to the src directory and run
Code: grep at_expand *.cc There are a few lines returned, the interesting one is Code: lin.cc: define_unary_function_ptr( at_expand ,alias_at_expand ,&__expand); Code:
You can also see how the expansion is done step by step on this example, run from the giac directory Code: export CXXFLAGS=-g && ./configure && cd src && make Code: r 'expand((x^2+7x+4)^5)' Now the conclusion is that expand on the Prime is *not* the equivalent of expand on the TI Nspire, in fact it should be compared to normal/simplify on the Prime, or more precisely to partfrac on the Prime (the expand commandname on the Nspire is a bit misleading, it does not only expand, but also does partial fraction expansion). The Prime CAS has more options/commands than the TI Nspire CAS, which means that before drawing conclusions on a benchmark, one should dig a little bit. Since this will probably not happen, I have now modified giac source code accordingly, see: https://github.com/geogebra/giac/commits/master Unfortunately, I have no idea when the change will be released in a public Prime firmware... |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
2010 Ti Nspire Faster than G2 HP Prime - gastondefer - 09-17-2022, 06:21 PM
RE: 2010 Ti Nspire Faster than G2 HP Prime - jfelten - 09-17-2022, 06:55 PM
RE: 2010 Ti Nspire Faster than G2 HP Prime - gastondefer - 09-17-2022, 07:29 PM
RE: 2010 Ti Nspire Faster than G2 HP Prime - Jean-Baptiste Boric - 09-17-2022, 07:21 PM
RE: 2010 Ti Nspire Faster than G2 HP Prime - gastondefer - 09-17-2022, 07:37 PM
RE: 2010 Ti Nspire Faster than G2 HP Prime - parisse - 09-18-2022 07:50 AM
RE: 2010 Ti Nspire Faster than G2 HP Prime - gastondefer - 09-18-2022, 01:43 PM
|
User(s) browsing this thread: 2 Guest(s)