Does XCas have HPPrime mode? - 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: Does XCas have HPPrime mode? (/thread-4972.html) |
Does XCas have HPPrime mode? - Han - 10-19-2015 03:37 PM (Mostly for Bernard) I am aware of the ability for XCas to switch to maple and ti mode for code compatibility. I was wondering if there is a similar mode switch so that one may simply copy HP Prime CAS programs directly from the calculator/virtual calculator into XCas and run it directly. At the moment, I have to to manually change all BEGIN-END pairs for code blocks to { and }:; and lower modify indices of matrix[i,j] to matrix[i-1,j-1]. The HP Prime code resembles maple syntax for some things (indices) but not everything (equality checks are == on the Prime and = in maple) so it seems maple compatibility mode does not work directly. Any suggestion? RE: Does XCas have HPPrime mode? - parisse - 10-19-2015 05:47 PM Try calc_mode(-38). If there are keywords not recognized please list them. BEGIN/END should work in Xcas, you don't need to replace by { } RE: Does XCas have HPPrime mode? - Han - 10-20-2015 02:37 AM I seem to have run into a very strange roadblock. Copying the following line from Maple (and remove the "Matrix( )") gives me errors in line 10 and at various columns... Code:
RE: Does XCas have HPPrime mode? - parisse - 10-20-2015 05:14 AM This is related to unary vs binary minus (was introduced for the hp39gii). I can easily modify the parser in Xcas and remove that constraint. You can replace - by 0- and it should work. |