Closed Isomorph70 closed 4 years ago
Adding an 'i' to Local seem to help.
20 # SymbolicDeterminant(_matrix) <-- [ Local(perms,indices,result,i); Check((IsMatrix(matrix)),"Determinant: Argument must be a matrix"); indices:=Table(i,i,1,Length(matrix),1); perms:=Permutations(indices); result:=0; ForEach(item,perms) result:=result+Product(i,1,Length(matrix),matrix[i][item[i] ]) * LeviCivita(item); result; ];
Thanks, it seems to be the fix, I'll push fix that tomorrow.
Cheers, Grzesiek
[i:=5;SymbolicDeterminant(Identity(3));];