HP Prime CAS programming
|
01-25-2020, 02:40 PM
(This post was last modified: 01-25-2020 02:46 PM by compsystems.)
Post: #18
|
|||
|
|||
RE: HP Prime CAS programming
(01-22-2020 01:15 PM)Tim Wessman Wrote: The problem is we cannot tell if it is variable or a function as the CAS doesn't really make that distinction in a way we have access to. a function in CAS, internally contains the -> symbol or the block -> BEGIN END which will identify the type of data function of a symbolic variable 1: PHP Code: #cas is recoded as PHP Code: casprg := ( seq[ ] ) -> RETURN( ABS( x + y*i ) ) while a variable does not contain the -> symbol casvar1 := x+y*i 2: PHP Code: #cas is recoded as PHP Code: casprg1 := ( seq[ ] ) |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)