Hi,
I found some code for Matrix Multiplication in Prolog but I can't figure out what is wrong with it.
mmultiply([],_,[]).
mmultiply([V0|Rest], V1, [Result|Others]):-
mmultiply(Rest, V1, Others),
multiply(V1,V0,Result).
multiply([],_,[]).
multiply([V0|Rest], V1...