[julia-users] Ordering for `eig` on quasitriangular matrices

2015-10-17 Thread f . poloni
Greetings! Matlab has a function `ordeig` that computes the eigenvalues of a real quasi-triangular matrix (may have 2x2 blocks on the diagonal, corresponding to complex conjugate eigenvalues) in the order in which they appear in the matrix. This is particularly useful in conjunction with `ordsc

[julia-users] Is x*f(x) undefined if f modifies x?

2015-09-11 Thread f . poloni
This question on Stackoverflow http://stackoverflow.com/questions/32504524/is-value-of-xfx-unspecified-if-f-modifies-x was asked for C++ recently. I think it makes sense to ask it for Julia, too, given its pass-by-sharing and we-are-all-consenting-adults semantics, and I was wondering what the