HP Forums

Full Version: Continuous Fourier Transform
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I was checking Xcas on Windows and realized that it can actually do continuous FT, among many other useful functions. Can I ask about the possibilities of this making its way to the Prime?
What is the function name?

Basically, some things in xcas cannot be included due to licensing issues (for example, if it uses code that only comes in a license not usable for commercial purposes, or that would force open source everything) because xcas itself doesn't do those functions and relies on other libraries.
(12-26-2019 02:03 AM)Tim Wessman Wrote: [ -> ]What is the function name?

Basically, some things in xcas cannot be included due to licensing issues (for example, if it uses code that only comes in a license not usable for commercial purposes, or that would force open source everything) because xcas itself doesn't do those functions and relies on other libraries.

The function is called fourier for the Fourier Transform and ifourier for the inverse Fourier Transform.

This is the page that lead me to the discovery: https://xcas.univ-grenoble-alpes.fr/foru...f=4&t=2009

There are also other really nice functions but if we can have fourier and ifourier, that would be great.
(12-26-2019 07:44 AM)medwatt Wrote: [ -> ]There are also other really nice functions but if we can have fourier and ifourier, that would be great.

To include this in Prime either a) Prime all becomes open source (which the development team is not personally against, but HP is not currently supportive of...), or b) you either need to contact the author at the link and ask/convince/beg/give firstborn or similar to re-license with a compatible one (he could talk to the cas author about what would work), or else rewrite them yourself not using that code. They are not under a license we can use directly and unfortunately that is a very low priority to remake on our side with so many other higher priority things. Sad
(12-26-2019 08:34 AM)Tim Wessman Wrote: [ -> ]
(12-26-2019 07:44 AM)medwatt Wrote: [ -> ]There are also other really nice functions but if we can have fourier and ifourier, that would be great.

To include this in Prime either a) Prime all becomes open source (which the development team is not personally against, but HP is not currently supportive of...), or b) you either need to contact the author at the link and ask/convince/beg/give firstborn or similar to re-license with a compatible one (he could talk to the cas author about what would work), or else rewrite them yourself not using that code. They are not under a license we can use directly and unfortunately that is a very low priority to remake on our side with so many other higher priority things. Sad

I've contacted the author via his GitHub page: https://github.com/marohnicluka/giac/issues/1

There's no harm in trying.
(12-26-2019 02:03 AM)Tim Wessman Wrote: [ -> ]What is the function name?

Basically, some things in xcas cannot be included due to licensing issues (for example, if it uses code that only comes in a license not usable for commercial purposes, or that would force open source everything) because xcas itself doesn't do those functions and relies on other libraries.

As an aside, the DM42 team managed to solve a similar problem by splitting the firmware into opensource and proprietary
https://www.swissmicros.com/License_Statement.php
The Delta project for the Numworks calculator does something similar: a system firmware with extensions, KhiCAS being one of them.
https://zardam.github.io/nw-external-apps
The ability to install opensource extensions would dramatically enhance the prime. All of this could be disabled in exam mode. Lets hope hp can find a way to do this.
And then replace the ti84+ce by the Numworks and the nspire cxii by the HP Prime, with a lot of fun applications developped by the community. If there is a compatible SDK, the same source code could run on both calculators, that would be a win-win situation for HP and Numworks.
(12-26-2019 08:34 AM)Tim Wessman Wrote: [ -> ]
(12-26-2019 07:44 AM)medwatt Wrote: [ -> ]There are also other really nice functions but if we can have fourier and ifourier, that would be great.

To include this in Prime either a) Prime all becomes open source (which the development team is not personally against, but HP is not currently supportive of...), or b) you either need to contact the author at the link and ask/convince/beg/give firstborn or similar to re-license with a compatible one (he could talk to the cas author about what would work), or else rewrite them yourself not using that code. They are not under a license we can use directly and unfortunately that is a very low priority to remake on our side with so many other higher priority things. Sad

The seems to be good news. The author replied to my request.

Hello,
thank you for your interest and sorry for a delayed response. I could indeed distribute my code under a dual license which would be suitable for inclusion in Prime CAS source tree. I'm all for it if that helps students and teachers. I'll contact the HP representatives and try to make an arrangement.
(01-08-2020 10:08 AM)medwatt Wrote: [ -> ]
(12-26-2019 08:34 AM)Tim Wessman Wrote: [ -> ]To include this in Prime either a) Prime all becomes open source (which the development team is not personally against, but HP is not currently supportive of...), or b) you either need to contact the author at the link and ask/convince/beg/give firstborn or similar to re-license with a compatible one (he could talk to the cas author about what would work), or else rewrite them yourself not using that code. They are not under a license we can use directly and unfortunately that is a very low priority to remake on our side with so many other higher priority things. Sad

The seems to be good news. The author replied to my request.

Hello,
thank you for your interest and sorry for a delayed response. I could indeed distribute my code under a dual license which would be suitable for inclusion in Prime CAS source tree. I'm all for it if that helps students and teachers. I'll contact the HP representatives and try to make an arrangement.
This is encouraging news. What would be very cool would be an sdk to allow user compile of such code and adding to prime as an extension to the cas
Reference URL's