Another error

mat2list([ [ 1, 2, 3 ], [ a, b, c ]]) return [1,2,3,a,b,c] // =( // Matrx to List

mat2list([ [ 1, 2, 3 ], [ a, b, c ]]) return { 1,2,3,a,b,c } // OK

// Request

[HP50] AXL([ [ 1, 2, 3 ], [ a, b, c ]]) return { {1,2,3},{a,b,c} }

Best

mat2list([ [ 1, 2, 3 ], [ a, b, c ]], [#] ) # == get row

mat2list([ [ 1, 2, 3 ], [ a, b, c ]], -1 ) [Enter] or mat2list([ [ 1, 2, 3 ], [ a, b, c ]] ) return {1,2,3 a,b,c } // -1 == list

list2mat(ans,3) return [ [ 1, 2, 3 ], [ a, b, c ]] or // 3 = cols

list2mat(ans,{2,3}) return [ [ 1, 2, 3 ], [ a, b, c ]] // { 2,3} // (rows,cols)

mat2list([ [ 1, 2, 3 ], [ a, b, c ]], 0 ) [Enter] return { {1,2,3},{a,b,c} } // 0 == All

list2mat(ans) == list2mat( { {1,2,3},{a,b,c} } ) [Enter] return [ [ 1, 2, 3 ], [ a, b, c ]]

mat2list([ [ 1, 2, 3 ], [ a, b, c ]], 1 ) [Enter] return { 1, 2, 3 } // 1 row

mat2list([ [ 1, 2, 3 ], [ a, b, c ]], 2 ) [Enter] return { a, b, c } // 2 row

Please rename 2 -> to

mat2List -> matToList

list2mat ->listToMat

*Edited: 23 July 2013, 2:31 p.m. *