Question: linalg commands seem not to be executed


I have to maple worksheets: one called and another called I read a file with

read(filename); from both .mw sheets.

but then file gives me a correct result while does not execute the linalg commands. For example, in filename there is:

for i from 1 to 8 do

    A1[i] := dotprod([1, x1, x2, x3], s);


while gives the result just gives

A1=dotprod([1, x1, x2, x3], col(Matrix(), 1))

s= col(Matrix(A), 24)

what is wrong with the file?

Thank you for suggestions!

PS: both files contain with(linalg);

Please Wait...