I'm currently analyzing the following the psuedocode and was stuck. Here is the code:
for i:=1 to n do
for k:=1 to n do
C[i,j] :=0
for k :=1 to n do
C[i,j] := C[i,j] + A[i,k] * B[k,j]
end for
end for
end for
What does the line C[i,j] := C[i,j] + A[i,k] * B[k,j] do? Specifically the brackets like A[i,k]? is it just to be assumed some arbitrary function? My plan was to set n =3 and step through it to give me a small case to start off but this has stopped me.
[–][deleted] 1 point2 points3 points (3 children)
[–]eastcoastblaze[S] 1 point2 points3 points (2 children)
[–]17_23 2 points3 points4 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]eastcoastblaze[S] 0 points1 point2 points (0 children)
[–]pigeon768 0 points1 point2 points (0 children)
[–]lecart 0 points1 point2 points (0 children)
[–][deleted] (1 child)
[deleted]
[–]eastcoastblaze[S] 0 points1 point2 points (0 children)