Answer the question
In order to leave comments, you need to log in
Formula to generate dense non-random non-singular matrix?
For a given dimension n, a nonsingular matrix must be generated.
I would like some simple formula like a(i,j)=1/(i + j). But most of these simple formulas give degenerate matrices.
Why?
There is a known method of generating based on a list of prime numbers ( See ).
What other options are there?
PS
We came up with the following options (octave, matlab):
More?
PPS
An example where a(i,j) is an analytic function?
i = [1:n]'; j = [1:n]; a = rem(i, j+1)
i = [1:n]'; j = [1:n]; a = idivide(i, j)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question