The tag has no wiki summary.

learn more… | top users | synonyms

4
votes
2answers
108 views

How can I write a Do loop that iterates over N iterators when N is not known a-priori?

For any positive integer $n$ which is not specified a priori, I can make $n$-tuple vector $v$ by v = Array[a, 1, n]. Now, given that $n$ is a positive integer which ...
2
votes
1answer
58 views

Passing an iterator [duplicate]

The code Table[i, {i, 5}] produces the output {1, 2, 3, 4, 5} whereas the code ...
0
votes
0answers
302 views

Jacobi eigenvalue and eigenvectors algorithm

Suppose we have a symmetric matrix with dimensions n x n. I need to find the eigenvalues and eigenvectors of this matrix using the Jacobi method. I wrote this code: ...