<

Question: som Matrix problems

Hi,

I got some Matrix problems to ask:

First,

A:=Matrix(3,4,[[1,2,3],[4,5,6]]);

it will fill with '0's

A:=Matrix(3,4,[[1,2,3],[4,5,6]],fill=8);

it will fill with '8's

B:=Matrix(3,4,[1,2,3,4,5,6]);

it will fill with '0's

B:=Matrix(3,4,[1,2,3,4,5,6],fill=8);

it does not fill

what's the proper way to do it?

Second,

A:=Matrix(3,4,[1,2,3,4,5,6]);

convert(A,listlist);

[[1, 2, 3, 4], [5, 6, 0, 0], [0, 0, 0, 0]]

 

what if I want to have ONE single list as

[1,2,34,5,6,0,0,0,0,0,0]?

 

Thanks.

casper

Please Wait...