Author Topic: A symbolic library for the Nspire non-CAS  (Read 20264 times)

0 Members and 1 Guest are viewing this topic.

Offline bwang

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 634
  • Rating: +30/-11
    • View Profile
A symbolic library for the Nspire non-CAS
« on: December 28, 2009, 09:28:25 pm »
A combination of boredom, need, and a sudden urge to test the speed of Nspire Basic has caused me to write a symbolic manipulator/CAS for the regular TI-Nspire. It does factorization, expansion, differentiation, and several other things right now, with varying degrees of success and slowness. It most notably DOES NOT support implied multiplication.

Comments/suggestions about the program, its bugs, and its terrible speed (especially the differentiator) are all welcome.

How do you insert images in posts? Clicking the "Insert Image" button just gives me a pair of img tags.
« Last Edit: February 24, 2010, 11:45:03 pm by bwang »

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: A symbolic library for the Nspire non-CAS
« Reply #1 on: December 28, 2009, 10:15:50 pm »
Mhmm sounds interesting, I might give this a try when I put my Nspire back in Nspire mode instead of 84+

To insert images you must upload them the same way you upload zip files (like you did with nspire_alg.zip)

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: A symbolic library for the Nspire non-CAS
« Reply #2 on: December 29, 2009, 01:15:31 am »
Haha, nice to see you finally posted that ;)

Just goes to show, while nSpire Basic might be horrible lacking in the graphics/input department, it does have a very full and functional math department.  Then again, who uses their calculators for Math anymore! :P

Offline simplethinker

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 695
  • Rating: +16/-5
  • snjwffl
    • View Profile
Re: A symbolic library for the Nspire non-CAS
« Reply #3 on: December 29, 2009, 11:09:13 am »
How do you insert images in posts? Clicking the "Insert Image" button just gives me a pair of img tags.
Attaching an image to a post will add a thumbnail to the bottom of the post, which can be clicked on to enlarge (it also has a link to download the image).  I don't know of a way to insert the picture anywhere in the post, so to do that you would have to use a website like photobucket or mediafire to host it, then use the forum image tags.
"We've all heard that a million monkeys banging on a million typewriters will eventually reproduce the entire works of Shakespeare. Now, thanks to the Internet, we know this is not true." -- Professor Robert Silensky



Chip's Challenge: ħ%

Offline Silver Shadow

  • Beta Tester
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 817
  • Rating: +27/-7
    • View Profile
Re: A symbolic library for the Nspire non-CAS
« Reply #4 on: December 30, 2009, 07:01:04 am »
I've just tried the lib and it works great! I didn't know you could do that in basic...
By the way, you provide a "hacked" version of one of the TI's libs. What does the "hack" actually change?
Former Coder of Tomorrow


Offline vadko

  • LV0 Newcomer (Next: 5)
  • Posts: 1
  • Rating: +0/-0
    • View Profile
Re: A symbolic library for the Nspire non-CAS
« Reply #5 on: January 25, 2010, 06:49:49 am »
Is there a new version or future plans for a new one?

-Had a previous doubt that was solved as I was hitting 'post'
« Last Edit: January 25, 2010, 06:56:40 am by vadko »

Offline bwang

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 634
  • Rating: +30/-11
    • View Profile
Re: A symbolic library for the Nspire non-CAS
« Reply #6 on: February 02, 2010, 04:16:43 pm »
The hacked numtheory lib removes a bunch of error checking and Disp statements. The original had several functions unusable for programming due to a Disp statement in the function before the return statement.

EDIT: It seems like there might be actually people who are using this thing. Does anyone have any interesting feature requests.
« Last Edit: February 02, 2010, 06:47:34 pm by bwang »

Offline Silver Shadow

  • Beta Tester
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 817
  • Rating: +27/-7
    • View Profile
Re: A symbolic library for the Nspire non-CAS
« Reply #7 on: February 03, 2010, 03:02:20 pm »
Quote
Does anyone have any interesting feature requests.
Not really, just make the existing ones better.

And I also have another question: if I keep TI's original lib, which of your functions will be affected?
Former Coder of Tomorrow


Offline bwang

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 634
  • Rating: +30/-11
    • View Profile
Re: A symbolic library for the Nspire non-CAS
« Reply #8 on: February 04, 2010, 01:47:40 am »
A lot of them. I think the affected ones will mainly be in gfp.tns (in particular, the modinv function). I don't remember if anything else uses numtheory functions. Maybe I should recode the affected functions...

Offline bwang

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 634
  • Rating: +30/-11
    • View Profile
Re: A symbolic library for the Nspire non-CAS
« Reply #9 on: February 04, 2010, 02:27:40 am »
New version. Hacked numtheory renamed to nt.tns.
Also fixes a nasty display bug in the integrator.
« Last Edit: February 04, 2010, 02:31:22 am by bwang »

Offline theUnnamed

  • LV3 Member (Next: 100)
  • ***
  • Posts: 63
  • Rating: +3/-3
    • View Profile
Re: A symbolic library for the Nspire non-CAS
« Reply #10 on: April 13, 2010, 04:24:44 pm »
Hi I've decided to take it on myself to continue work on this library. and Intend to add functionality and speed up execution and optimizing and although I don't yet fully understand the code base yet I would like suggestions on what I should improve

Offline Silver Shadow

  • Beta Tester
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 817
  • Rating: +27/-7
    • View Profile
Re: A symbolic library for the Nspire non-CAS
« Reply #11 on: April 14, 2010, 02:05:57 am »
It would be cool if someone made an asm version or something, since Ndless2 will be coming out. It would allow for better speed and more functions.
Former Coder of Tomorrow


Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: A symbolic library for the Nspire non-CAS
« Reply #12 on: April 14, 2010, 02:22:50 am »
who uses their calculators for Math anymore! :P
Maths? What are those?

Offline theUnnamed

  • LV3 Member (Next: 100)
  • ***
  • Posts: 63
  • Rating: +3/-3
    • View Profile
Re: A symbolic library for the Nspire non-CAS
« Reply #13 on: April 14, 2010, 06:38:47 am »
That post seems vaguely familar

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6267
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: A symbolic library for the Nspire non-CAS
« Reply #14 on: April 14, 2010, 10:27:14 am »
Hmm...im getting a wierd sense of deja'vou
/e