Generate a 100 × 100 matrix
A = matrix(100, 100, lambda i, j: 1/(i-j) if i != j else 0)
I want the numerical value of A
's determinant. Is it quicker to evaluate
the determinant exactly first or to work from the start with a
matrix with numerical entries?
Note: this matrix is given in Sage syntax, how would I write this in Mathematica syntax?
I know how to create a 100 x 100 matrix:
A[i_, j_] := Table[{i} {j}, {i, 100}, {j, 100}]
Any help wil be appreciated.