62,653 reputation
5154356
bio website szhorvat.net/pelican/pages/…
location ND
age
visits member for 2 years, 11 months
seen 3 hours ago

contact details

Please do not write me with Q/A related questions. Post them on the site instead!

Visit Mathematica.SE


Dec
9
comment How to replace all symbols except several?
Though Variables[x^a] is {x^a}, not {x,a}.
Dec
8
comment Infinite sums with Boole and EvenQ
"Since Q functions always return True or False" --> I never realized this. Is there no exception? Is that the reason why Positive is not called PositiveQ?
Dec
8
comment How to replace all symbols except several?
But I'm not very happy about this solution. For example, Pi is a symbol too and you probably wouldn't want to replace it ... I'd rather make a list of all relevant symbols first and work with that. Just to make sure nothing is included that shouldn't be ...
Dec
8
comment How to replace all symbols except several?
Replace[x^y + a/h - z + k, Except[a | x, _Symbol] -> 1, {0, Infinity}] ? Heads -> False is the default for Replace.
Dec
8
comment How to find the kth largest eigenvalue of a matrix, taking into account the sign?
@Simon.Z To take the smallest (negative) ones, you can take the eigenvalues of -m instead of m, then multiply them by -1. The Arnoldi method will usually only work for getting the few largest (or few smallest) eigenvalues, so this is indeed a limitation/
Dec
7
comment How to get the content size (in pixels) of the output in an output cell?
@MikeHoneychurch All information I have comes from the comments by John Fultz under the answer I linked. There's a list of graphics formats there, not sure if it's complete. There are other formats available too, not just graphics.
Dec
7
comment Two installations of MMA 10.0.1.0 differ in behavior
I guess it's sort of a duplicate of this then ... mathematica.stackexchange.com/q/65146/12 (in the sense that the solution is the same).
Dec
7
comment Mysterious behaviour of Plot
Sorry, I didn't read carefully. It appears that you have TraditionalForm wrapped around every single expression in that list. If you get rid of TraditionalForm, it should work. Appears to be the same situation as here: mathematica.stackexchange.com/questions/3098/…
Dec
7
comment How to add texture to a parametric plot?
What have you tried so far? The page you link to had an example with ParametricPlot3D. Why didn't the same method shown there work for you? People will be reluctant to give yet another example seeing that you have already ignored one in the documentation and didn't explain the difficulty with it.
Dec
7
revised How to find the kth largest eigenvalue of a matrix, taking into account the sign?
added 79 characters in body
Dec
7
comment How to get the content size (in pixels) of the output in an output cell?
@Giovanni I understand now. No, there isn't. Notebooks and cells are handled by the front end. Only the front end can compute the size of a cell. Any solution will involve calling the front end in some way. Actually there are many operations that rely on the front end, e.g. exporting any type of graphics. When you run the kernel in a terminal and invoke Export[..., "PNG"], a front end process will be silently started up in the background to handle the request.
Dec
7
revised How to find the kth largest eigenvalue of a matrix, taking into account the sign?
added 36 characters in body
Dec
7
comment CDF plugin no longer launches in Chrome
Yes, this has stopped working a while ago in Chrome on my OS X machine as well (Wolfram Demonstrations don't work either). It's not just your computer. It works in other browsers. I assumed it had to do with Chrome phasing out NPAPI support, but maybe I'm wrong. Since this problem is not specific to your setup, and it's likely to impact the Wolfram Demonstrations site, I'd suggest contacting Wolfram support directly with this problem.
Dec
7
comment How to find the kth largest eigenvalue of a matrix, taking into account the sign?
Okay, I tried to rephrase your question based on how I understood it. Please check that this is what you meant, and whether my answer solves your problem.
Dec
7
answered How to find the kth largest eigenvalue of a matrix, taking into account the sign?
Dec
7
revised How to find the kth largest eigenvalue of a matrix, taking into account the sign?
deleted 108 characters in body; edited title
Dec
7
comment How to find the kth largest eigenvalue of a matrix, taking into account the sign?
Looking at all the confusion below, it would have been useful to explicitly mention in the question that you need to take the sign into account (not largest/smallest based on magnitude). You didn't mention that the matrix is symmetric and real either. Please take the time to write up the question precisely, then I'll post a simple solution. We are trying to make sure that the questions here are useful not only for the original asker but also for others in the future.
Dec
7
comment Two installations of MMA 10.0.1.0 differ in behavior
Is it only this message or all messages? Did you check the Messages tab in the preferences? Do you have anything in the kernel's init.m file for either installation?
Dec
7
revised VertexConnectivity and FindVertexCut disagree
edited tags; edited tags
Dec
7
revised Is there something wrong with VertexConnectivity
added 48 characters in body; edited tags