Question: Declaration of a composite datatype

Dear Maple users

I have a question, which is probably very basic, but I can't find how to handle it in the Programming Manual or elsewhere. I need to declare a parameter, which is a vector of lists. Example of element:

< [3,7,2,4], [-3,6,8,0], [-5,8,4,2]>

Vector has n components and each list has k components. I tried declaring it like:

boxVector:=Vector(n,datatype=list());

and other ways, but it didn't work. How can it be done? Also could you recommend some book for learning the Maple language? I think Maples own manual is lacking something. I am missing some telling examples, and not just examples with a few lines ...

Erik

Please Wait...