File src/scalprod.red artifact 085ebbfed8 on branch master
procedure scalprod(a,b); begin; scalar n; n:=first (length(a))-1; result:=for i:=0:n sum a(i)*b(i); return result; end; end;
procedure scalprod(a,b); begin; scalar n; n:=first (length(a))-1; result:=for i:=0:n sum a(i)*b(i); return result; end; end;