Returns the Cauchy matrix
A = makematrix_cauchy ( x ) A = makematrix_cauchy ( x , y )
a 1-by-n or n-by-1 matrix of doubles, the x input
a 1-by-n or n-by-1 matrix of doubles, the y input (default y=x)
a n-by-n matrix of doubles, the Cauchy matrix
Returns the Cauchy matrix of size n with entries x, y
For i=1,2,...,n and j=1,2,...,n, we have:
A(i,j) = 1 ./ (x(i) + y(j))
Nicolas Higham, Accuracy and Stability of Numerical Algorithms, A Gallery of Test Matrices