432 reputation
19
bio website tabiol.com
location Gothenburg, Sweden
age
visits member for 1 year, 6 months
seen Apr 10 at 10:51

Jul
2
awarded  Curious
Apr
7
accepted workbench: how to see values of global variables during debugging
Apr
7
comment workbench: how to see values of global variables during debugging
Domo arigato! It works! Just tested it.
Apr
4
comment workbench: how to see values of global variables during debugging
I understand finally! I tried it though, and could not make it work. The expression (a global private variable in the package) never evaluates. Do I have to reference with the full name (including the context)?
Mar
31
comment workbench: how to extract a piece of code into a function
on my part, I needed that functinality rather often. I certanly would like to see it implemented. though I agree that it is a highly non-trivial in the context of mathematica. there is so much to keep track off...
Mar
31
comment workbench: how to see values of global variables during debugging
@WReach: I think, though I might be wrong, that this post is not closely related to the example you linked. In the exapmpel that you are pointing to the variable (a) is local. I am asking specifically about global variables. Did I missunderstood something?
Mar
31
accepted How to enforce numerical precision throughout a package
Mar
31
comment How to enforce numerical precision throughout a package
@Oleksandr R.: To make it more transparent, I just quoted your statement that it is not possible to do this, and indicated it as an answer.
Mar
31
answered How to enforce numerical precision throughout a package
Mar
31
comment How to enforce numerical precision throughout a package
Thank you for pointing out that this is not possible! Exactly an answer I needed. It was yes/no and now I know it is no (can't be done). I have to climb down into the mines and start fixing it the hard way. I just wanted to be sure of it. Well, such is life.
Mar
27
comment How to enforce numerical precision throughout a package
thanks for looking into this! no, you missunderstood. The solution is already implemented, and I dare say, without false modesty, probably I am using the best way to do it. The only problem is that I realized that Mathamatica is using infinite precision in all computations (a lot of matrix operations and list operations, no wonder I suppose). Of course, I can go on and put explict N statements whenever needed. The problem is, the package is very big. I would like to avoid it if possible. But, I guess, if there was such a way, someone would have suggested it already.
Mar
26
comment How to enforce numerical precision throughout a package
I understanding your point. I know that Mathematica is meant to work as it does. However, the question is not about that. In fact, one should be able to use it to solve heavy numerical problems, and I am doing that frequently. The example you seek is way too big to be listed here, but I can simplify. Imagine a piece of code that evolves a network of electronic elements. Basically an ODE system that needs to be solved numerically. Of course, I am doing it in a very specific way so I cannot really use built in ODE solver. The point is, well, as the question states.
Mar
26
revised workbench: how to see values of global variables during debugging
added 143 characters in body
Mar
26
asked workbench: how to see values of global variables during debugging
Mar
26
asked workbench: how to extract a piece of code into a function
Mar
26
revised How to enforce numerical precision throughout a package
added 286 characters in body
Mar
26
comment How to select specific subvalues from a function definition
great! SubValues[h] works. thanks! But SubValues[h[1]] doesn't. Of course, one can extract these from SubValues[h] but that might be problematic for many subvalues. I still wonder if there is a way to index them directly.
Mar
26
asked How to select specific subvalues from a function definition
Mar
26
comment Numerics with Mathematica
I have a simmilar problem. Please see this post. The question is extremely relevant. Now for several years I started using Mathematica heavily for numerical problems. It would be desirable (I dissagree with the beautiful post below on that point) to have such a switch.
Mar
25
asked How to enforce numerical precision throughout a package