Post Reply 
concat in CAS
11-16-2014, 03:16 PM
Post: #5
RE: concat in CAS
(11-16-2014 06:59 AM)parisse Wrote:  concat takes 2 arguments. If it has more than 2 args, it returns the arguments. That's indeed not very useful, perhaps we can change this and concat all the arguments.

That's interesting -- returning the arguments is actually the same result as putting them all into a list delimited by []'s because of how the CAS interprets values separated by commas.

I think having it match the Home behavior is probably best (and what is most expected). The help screen would need to be modified since I think most people expect

CONCAT({1,2},3,{4,5})

to produce a single list containing {1,2,3,4,5} and not {{1,2},3,{4,5}} as suggested by the help text.

Graph 3D | QPI | SolveSys
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
concat in CAS - Gilles - 11-15-2014, 09:41 PM
RE: concat in CAS - Han - 11-16-2014, 04:50 AM
RE: concat in CAS - parisse - 11-16-2014, 06:59 AM
RE: concat in CAS - Han - 11-16-2014 03:16 PM
RE: concat in CAS - Gilles - 11-16-2014, 09:36 AM



User(s) browsing this thread: 2 Guest(s)