New answers tagged

4 votes

Collapse (hide) code inside a function

however I would like to be able to "hide" the function definitions I recommend using Mathematica's Eclipse workbench for these things. I am now switching all my development to it, since it ...
  • 116k
5 votes

Speed up functions using variable types but not Compile

Here's a version that avoids the explicit conversion to binary digits and uses only bitwise operations: ...
  • 63.1k
4 votes

Unable to solve the given equation

Replace your last line with this and it finishes in few seconds Block[{δ1 = 0}, Solve[Simplify[Veff'[r] == 0], r, Reals]]
  • 116k
1 vote

Plot of massless particles on unstable null circular geodesic : Finding an alternative for Graphics`Mesh`FindIntersections and reducing code length

This is a more functional way to do step 1: ...

Top 50 recent answers are included