I have to maple worksheets: one called test.mw and another called wholecode.mw. I read a file with
read(filename); from both .mw sheets.
but then test.mw file gives me a correct result while wholecode.mw 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 test.mw gives the result wholecode.mw just gives