CAS programs in user menu
|
01-29-2014, 04:05 PM
Post: #1
|
|||
|
|||
CAS programs in user menu
Hello,
If I click the toolbox key and then the soft USER key, I see a list with all my program functions, but not including my CAS programs. Is there a way to have my CAS programs show up in that list? |
|||
01-29-2014, 04:10 PM
Post: #2
|
|||
|
|||
RE: CAS programs in user menu
Technically, there is not such a thing as a "cas program". Rather, they are functions and variables in and of themselves. They will appear under the CAS variables, not user programs. VARS->CAS
TW Although I work for HP, the views and opinions I post here are my own. |
|||
01-31-2014, 06:45 AM
Post: #3
|
|||
|
|||
RE: CAS programs in user menu
CAS variables may indeed contain functions like other kind of variables, which makes the CAS programming language a functional language. By the way, it would be great to have support to transfert easily CAS programs from Connectivity Kit, since it's easier to type a program that's more than a few lines on a computer.
|
|||
02-03-2014, 01:51 AM
Post: #4
|
|||
|
|||
RE: CAS programs in user menu
Thank you Tim, Bernard.
By the way, is there any document about functional programming with xcas? I do not find anything at the xcas page. Thank you! |
|||
02-04-2014, 07:40 AM
Post: #5
|
|||
|
|||
RE: CAS programs in user menu
The Xcas English documentation is indeed far from complete (unlike the French doc), as the Prime CAS documentation.
Some commands are functional, i.e. you must pass a function as argument, like makelist, matrix, apply, map. Some operators are functional, e.g. you can write f:=id-sin^2-1 and then compute f(2.0) or define g:=id-f/f' and compute (g@@4)(2.0). You can pass a function as argument to a CAS program. Take care not to confuse expressions and functions. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 3 Guest(s)