Does XCas have HPPrime mode?
|
10-19-2015, 03:37 PM
Post: #1
|
|||
|
|||
Does XCas have HPPrime mode?
(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? Graph 3D | QPI | SolveSys |
|||
10-19-2015, 05:47 PM
Post: #2
|
|||
|
|||
RE: Does XCas have HPPrime mode?
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 { }
|
|||
10-20-2015, 02:37 AM
Post: #3
|
|||
|
|||
RE: Does XCas have HPPrime mode?
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:
Graph 3D | QPI | SolveSys |
|||
10-20-2015, 05:14 AM
(This post was last modified: 10-20-2015 05:15 AM by parisse.)
Post: #4
|
|||
|
|||
RE: Does XCas have HPPrime mode?
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.
|
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)