|
Mar 11 |
answered | Integration gives ComplexInfinity when it shouldn't |
|
Mar 10 |
comment |
OpenSCAD like functionality with Mathematica? fyi, OpenSCAD functions description is here en.wikibooks.org/wiki/OpenSCAD_User_Manual/… in case someone wants to know what these functions do. |
|
Mar 10 |
comment |
Efficiently appending points to a NearestFunction It is a good idea to always label plots (x,y and title). Teacher always takes 5% from my HW when I forget to do that. |
|
Mar 9 |
comment |
RefProp in Mathematica In theory, one should be able to call RefProp from M. Looking at its help page, it is a DLL. In the linking section of its help, it has examples of other software calling it (Matlab, Python, etc..). So since M can call DLL then I do not see why it can't be done from M as well. I would say start reading the examples shown there for other software linking to it, and read M help on calling DLL's would be a good place to start? |
|
Mar 9 |
revised |
Graphical Plots of PDF and CDF update |
|
Mar 9 |
revised |
Graphical Plots of PDF and CDF deleted 21 characters in body |
|
Mar 9 |
answered | Graphical Plots of PDF and CDF |
|
Mar 9 |
comment |
Solving a tridiagonal system of linear equations using the Thomas algorithm I've written Thomas algorithm function once for a HW, it was in Fortran. I can try to translate it to M using functional style. Is this what you mean by this question? Here is the function ![Mathematica graphics] (i.stack.imgur.com/WygGK.png) it will be much shorter in M I am sure. |
|
Mar 8 |
comment |
Go to definition of symbol/variable @AlbertRetey But when I copy my Mathematica source code from the notebook, and I paste into the Workbench, then I get line numbers! Workbench is WRI product. So all what I wanted is the same thing, but in the notebook interface. line numbers do not have to correspond to full expressions, only literally what one sees on the screen as one line which ends with CR, will count as one line. Just like workbench does it. This will help in finding code in a large cell (as normally the case with Manipulate where I can have 5,000 lines in ONE cell. any way... I am off the subject of this question. |
|
Mar 8 |
comment |
Go to definition of symbol/variable .. I'll be happy with just having good old fashioned source line numbers in the notebook myself. May be in version 16 of Mathematica we will get this feature finally added. It must be very hard to do. |
|
Mar 8 |
comment |
Go to definition of symbol/variable try ?name and ??name This will just display the information about the name/symbol. I do not know of a way to actually jump to where the symbol is first seen in a notebook. There are ways to tag cells, and then use the tag as marker. But I am sure this is not what you wanted here. |
|
Mar 8 |
comment |
Mathematica vs. $\LaTeX$? Replacement for Legacy “Authoring Tools” package? You said: The Mathematica Guidebook, which appears to have been written entirely in MMA with Authoring tools This is not exactly the way I read it. Here is description from the book itself. Tex was used for production. !Mathematica graphics I do not see any mention of Authoring tools in this description. |
|
Mar 8 |
comment |
Inconsistent results from equivalent integrals if I did not know any better, I'd say this a bug. Integrate[1/TrigToExp[a^2*Cos[t]^2 + b^2*Sin[t]^2], {t, 0, 2*Pi}] gives zero. !Mathematica graphics So clearly changing the form should not have made a difference in result. |
|
Mar 8 |
revised |
Plotting with Units more works |
|
Mar 8 |
answered | Plotting with Units |
|
Mar 8 |
comment |
Does pass-by-value affect the performance of function calls? I actually still do not see how it does not affect performance. When I pass a list of 1 GB to a function, and that function wants to modify one entry in this list, then a copy of the whole list needs to be made and the copy is modified and returned. So how is Mathematica able to copy a 1 GB (and also freeing the old list) without any performance penalty? I mean compared to pass by reference, where no copying is needed. There should be performance difference. Did malloc() and free() become so fast these days? Example !Mathematica graphics |
|
Mar 8 |
comment |
Plotting with Units Do you think mixing Wolfram alpha input (I assume this is what you call natural language input) within Mathematica code is a good idea? Can you run this code again when the internet is down? Why not write everything using normal Mathematica code? I never thought the idea of mixing so called natural language input within Mathematica is a good idea. Just adds more confusion for little added benefit. |
|
Mar 8 |
comment |
Does pass-by-value affect the performance of function calls? @LeonidShifrin Yes, you are right. I do not use Unevaluated[] any more. |
|
Mar 8 |
comment |
Does pass-by-value affect the performance of function calls? also this question stackoverflow.com/questions/7376032/… I see no difference in this simple test !Mathematica graphics |
|
Mar 6 |
comment |
Draw only the top of the boundary of a function in Plot3d hard to say with seeing the code, but may be RegionPlot3D can be used? for 2D there is RegionPlot. |