[xCAS] requests
|
07-31-2016, 05:06 AM
(This post was last modified: 07-31-2016 05:11 AM by compsystems.)
Post: #1
|
|||
|
|||
[xCAS] requests
Hello BP, sorry for my bad English
I'm trying xcas My requests are the follows 1: On each entry line, after entering the expression 1D linear format [enter], converting it to 2D format (math text book), at the end of the line to add a button [in] with options 1.1 Switch expression 2D/1D format 1.2. Copy expression (together, separate, unicode, latex, etc) together format: list[ (-b+sqrt(b^2-4*a*c))/(2*a), (-b-(sqrt(b^2-4*a*c)))/(2*a) ] separate format: list[ (-b + sqrt( b^2 - 4*a*c )) / (2*a) , ( -b -( sqrt( b^2 - 4*a*c) ) )/( 2*a) ] Unicode { (-b+√(-4*a*c+b^2))/(2*a), (-b-√(-4*a*c+b^2))/(2*a)} the latter is very useful for pasting into such forums Thanks |
|||
07-31-2016, 06:49 AM
Post: #2
|
|||
|
|||
RE: [xCAS] requests
If you want to talk about Xcas, please register at the Xcas forum and post there.
For input, you can enter expressions in 2-d mode inside Xcas (select New expression in Expression menu) but I discourage this mode of entry (default is 1-d), because I think it's much easier to modify an existing input in 1-d mode (and it also requires much more ressources to implement an intuitive 2-d entry mode). |
|||
08-02-2016, 12:13 AM
(This post was last modified: 08-02-2016 12:20 AM by compsystems.)
Post: #3
|
|||
|
|||
RE: [xCAS] requests
here there are many more users, plus everything that has to do with xcas improves the hpprime cas. the problem is that not communicate well in English to discuss thoroughly.
The following functions are needed 1: to determine whether or not a list have dimension matrix isMatrixArray?( [ [[1],[2]], [a,b], [c,d] ] ) [enter] returns FALSE isMatrixArray?( [ [a,b], [c,d], [[1],[2]] ] ) [enter] returns FALSE isMatrixArray?( [ [1,2], [a,b], [c,d] ] ) [enter] returns TRUE isMatrixArray?( [ [1,2,3,4,5], [a,b], [c,d] ] ) [enter] returns FALSE isMatrixArray?( [ "hello", "world" ] ) [enter] returns FALSE isMatrixArray?( [ [1], [2], [a,b], [c,d] ] ) [enter] returns FALSE isMatrixArray?( [ [1], [2], [3], [4] ] ) [enter] returns TRUE isMatrixArray?( [ [1,2,3,4] ] ) [enter] returns TRUE 2: a function for converting an solve output to expression math solution solve( expr, var ) [enter] returns [1, 2, 3] ListToExprList(Ans, x) => [ x=1, x=2, x=3 ] |
|||
08-02-2016, 04:11 PM
Post: #4
|
|||
|
|||
RE: [xCAS] requests
(08-02-2016 12:13 AM)compsystems Wrote: The following functions are needed isMatrixArray?(a):= BEGIN <insert_your_loop_here> END; Quote:2: a function for converting an solve output to expression math solution ListToExprList(a,b):= BEGIN <insert_your_loop_here> END; ??? These are at most 1-5 lines to implement yourself. I don't see them getting enough use to be elevated to a system command. TW Although I work for HP, the views and opinions I post here are my own. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 3 Guest(s)