Select element from list wo/CAS?
|
05-06-2023, 05:22 PM
Post: #8
|
|||
|
|||
RE: Select element from list wo/CAS?
(05-06-2023 01:55 AM)tppytel Wrote: Context... I'm just writing a simple quadratic solver program that returns a list with both solutions. I'd like to be able to pull a single solution from the return list. If you have a list, say {10,20,30}, you can Sto> it in L1 (or any list variable). Then each item in the list is accessible by its index. In this example L1(2) would return 20. And the list would stay easily accessible(even in CAS environment). Consequently let your program return the result as a named list, of which you then have full control. HTH, Günter |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Select element from list wo/CAS? - tppytel - 05-06-2023, 01:55 AM
RE: Select element from list wo/CAS? - gehakte_bits - 05-06-2023, 02:34 AM
RE: Select element from list wo/CAS? - tppytel - 05-06-2023, 02:38 AM
RE: Select element from list wo/CAS? - gehakte_bits - 05-06-2023, 02:57 AM
RE: Select element from list wo/CAS? - tppytel - 05-06-2023, 03:06 AM
RE: Select element from list wo/CAS? - gehakte_bits - 05-06-2023, 03:19 AM
RE: Select element from list wo/CAS? - tppytel - 05-06-2023, 03:26 AM
RE: Select element from list wo/CAS? - Guenter Schink - 05-06-2023 05:22 PM
|
User(s) browsing this thread: 1 Guest(s)