Add a value at the start of a list.
|
01-11-2024, 12:04 AM
(This post was last modified: 01-11-2024 12:15 AM by StephenG1CMZ.)
Post: #2
|
|||
|
|||
RE: Add a value at the start of a list.
CONCAT({1,2},{3,4}) -> {1,2,3,4} seems ok for lists, which in PPL have braces.
The [] are matrices or vectors, though in cas I believe they can be mixed. Some XCAS commands are implemented, but not all. I have a collection of useful list functions here: https://www.hpmuseum.org/forum/thread-94...t=list+api (If you need to use [], there may be be a way, or you can convert to a list and then back again). Stephen Lewkowicz (G1CMZ) https://my.numworks.com/python/steveg1cmz |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Add a value at the start of a list. - matalog - 01-10-2024, 10:57 PM
RE: Add a value at the start of a list. - StephenG1CMZ - 01-11-2024 12:04 AM
RE: Add a value at the start of a list. - komame - 01-11-2024, 12:07 AM
RE: Add a value at the start of a list. - matalog - 01-11-2024, 12:50 AM
RE: Add a value at the start of a list. - BruceH - 01-12-2024, 11:13 PM
RE: Add a value at the start of a list. - Joe Horn - 01-13-2024, 01:15 AM
|
User(s) browsing this thread: 1 Guest(s)