HP Forums
Prime with cocoa - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html)
+--- Forum: HP Prime (/forum-5.html)
+--- Thread: Prime with cocoa (/thread-721.html)



Prime with cocoa - Joe Horn - 02-20-2014 11:22 AM

Enjoy your Prime with cocoa! Try this in CAS:

convert(0,14)

Must be typed in lowercase. CAS only.


RE: Prime with cocoa - jebem - 02-20-2014 12:04 PM

Nice one!
Mine did the same, using the most recent firmware update (Nov-25).

After typing "convert(0,14)" in CAS window, the answer was prompted in the history area as:
"CONVERT(0,14) with_cocoa"

Surely the calculator must have a good reason for this kind of recommendation.
I enjoy chocolate very much, thank you!

After checking the wikipedia, apparently this can be related to the COCOA API framework?
"Cocoa is Apple's native object-oriented application programming interface (API) for the OS X operating system".


RE: Prime with cocoa - Dominik Holenstein - 02-20-2014 01:20 PM

Strange or interesting at least!

convert(1,14) -> with_f5
convert(2,14) -> tdeg
convert(3,14) -> plex
convert(4,14) -> revlex
convert(5,14) -> modular_check
convert(6, 14) -> 6

This seems to be related to xCAS which is the base for the CAS on the HP Prime:
http://www-fourier.ujf-grenoble.fr/~parisse/giac/doc/en/cascmd_en/cascmd_en232.html

CoCoA has nothing to do with Cocoa on OSX and it is a system for computing with multivariate polynomials.
http://cocoa.dima.unige.it/flyer4.html

Further, CoCoA is part of xCAS.
Computations in Commutative Algebra

Dominik


RE: Prime with cocoa - jebem - 02-20-2014 04:23 PM

Thanks for the enlightenment, Dominik!
That explanation makes all the sense now.

I guess I have a long way in front of me to learn all this advanced CAS/xCAS framework. I did symbolic calculus at school in my time, long ago, but never used machines for that purpose, except of course for numeric operations with my HP-25 Smile

Jose Mesquita


RE: Prime with cocoa - parisse - 02-20-2014 07:33 PM

Yes, CoCoA was the Groebner basis computation engine of giac before I implemented my own engine (that is now the fastest open-source Groebner basis engine for revlex ordering). with_cocoa is still an optional argument that you can pass to gbasis in Xcas to force use of CoCoA.