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 |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
CONCAT/APPEND/PREPEND CAS FUNCTION - compsystems - 07-30-2016, 03:08 AM
RE: [Request] fill zeros in vectors and matrices with empty elements - parisse - 07-30-2016, 07:51 AM
RE: - compsystems - 07-30-2016, 12:37 PM
RE: - compsystems - 07-30-2016 12:33 PM
RE: [Request] fill zeros in vectors and matrices with empty elements - parisse - 07-30-2016, 01:33 PM
RE: - compsystems - 07-30-2016, 02:12 PM
RE: - compsystems - 07-30-2016, 02:47 PM
RE: CONCAT/APPEND/PREPEND CAS FUNCTION - parisse - 07-30-2016, 04:50 PM
RE: CONCAT/APPEND/PREPEND CAS FUNCTION - Tim Wessman - 08-01-2016, 08:46 PM
RE: CONCAT/APPEND/PREPEND CAS FUNCTION - compsystems - 08-01-2016, 11:40 PM
RE: CONCAT/APPEND/PREPEND CAS FUNCTION - Tim Wessman - 08-02-2016, 04:04 PM
|
User(s) browsing this thread: 2 Guest(s)