Post Reply 
CONCAT/APPEND/PREPEND CAS FUNCTION
07-30-2016, 12:33 PM (This post was last modified: 07-30-2016 04:23 PM by compsystems.)
Post: #3
RE:
Another Example with CONCAT CAS FUNCTION

FIRST ARGUMENT A LIST without matrix dimension, only elements

Case 4:

list1 := {abc, {d,e} , f} [ENTER] returns {abc, {d,e}, f} // a List with 3 Elements OK
list2 := {{g,h}} [ENTER] returns {{g,h}} // a List with 1 Elements, in this case it is also a row matrix (1x2). OK

concat(list1,list2) [ENTER] returns {abc,{d,e},f, {g,h} }// a List with 4 Elements OK

Case 5:

list3 := [abc, [d,e] , f] [ENTER] returns [abc, [d,e] , f] // a List with 3 Elements OK
list4 := [[g,h]] [ENTER] returns [[g,h]] // a List with 1 Elements, in this case it is also a row matrix (1x2). OK

concat(list3,list4) [ENTER] returns [abc,[d,e],f,[g,h]] // a List with 4 Elements OK

Case 6:

list3 := [abc, [d,e] , f] [ENTER] returns [abc, [d,e] , f] // a List with 3 Elements OK
list2 := {{g,h}} [ENTER] returns {{g,h}} // ok

concat(list3,list2) [ENTER] returns [abc, [d,e], f, {g,h}] // a List with 4 Elements OK

Case 7:

list1 := {abc, {d,e} , f} [ENTER] returns {abc, {d,e}, f} // ok
list4 := [[g,h]] [ENTER] returns [[g,h]] // ok

concat(list1,list4) [ENTER] returns{abc, {d,e} , f, [g,h]} // a List with 4 Elements OK
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: - compsystems - 07-30-2016, 12:37 PM
RE: - compsystems - 07-30-2016 12:33 PM
RE: - compsystems - 07-30-2016, 02:12 PM
RE: - compsystems - 07-30-2016, 02:47 PM



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