================================== Top new questions this week: ==================================
[Pulsed NMR animation] http://mathematica.stackexchange.com/questions/115675/pulsed-nmr-animation
I’m new here and have never interacted with the community so excuse me if this has been asked before or if I format incorrectly or anything like that.
Anyway, I’m trying to make an animation for a ...
- asked by D. Sessions (13 votes), answered by Jack LaVigne (16 votes)
—————————-
[Plot 3D model of DNA in Mathematica] http://mathematica.stackexchange.com/questions/115491/plot-3d-model-of-dna-in-mathematica
My friend asked me if we can plot a 3D model of DNA (deoxyribonucleic acid) in Mathematica. However, I am not really familiar with this and I don’t know if Mathematica can do this. Could you answer ...
- asked by BlueSky (12 votes), answered by JasonB (23 votes)
—————————-
[Exclude overlapping lists while keeping disjoint- and sub-lists?] http://mathematica.stackexchange.com/questions/115545/exclude-overlapping-lists-while-keeping-disjoint-and-sub-lists
Consider a function f[l1_List,l2_List]
which is given lists of integers. Whenever two of
the lists contain completely disjoint sets of integers OR one of the lists is completely
contained in the ...
- asked by Kagaratsch (12 votes), answered by ciao (15 votes)
—————————-
[Beautiful dance of the Earth and Venus around the sun] http://mathematica.stackexchange.com/questions/115358/beautiful-dance-of-the-earth-and-venus-around-the-sun
I have seen very nice dynamic graphics created by users of Ma. I would like to get help whether the following graphics can be created using Ma. I was not able to create the dynamic picture here. ...
- asked by ramesh (11 votes), answered by ubpdqn (6 votes)
—————————-
[Second argument of BeginPackage with nested package loading] http://mathematica.stackexchange.com/questions/115502/second-argument-of-beginpackage-with-nested-package-loading
I naively thought that the second argument of BeginPackage can simply be used to ensure the loading and availability in the $ContextPath of additional packages.
Example:
(* Pack1.m *) ...
- asked by Szabolcs (11 votes), answered by Leonid Shifrin (7 votes)
—————————-
[How to correctly implement in a new function the scoping behavior of Table, Sum and other commands that use Block to localize iterators?] http://mathematica.stackexchange.com/questions/115722/how-to-correctly-implement-in-a-new-function-the-scoping-behavior-of-table-sum
It is documented that "Block is automatically used to localize values of iterators in iteration constructs such as Do, Sum, and Table." Therefore the dummy index (iterator) in a Sum is shielded ...
- asked by MaTECmatica (9 votes), answered by Leonid Shifrin (6 votes)
—————————-
[Parallelization works, but does not use all CPU power] http://mathematica.stackexchange.com/questions/115436/parallelization-works-but-does-not-use-all-cpu-power
I’ve written code which involves Parallelize@Cases. When I evaluate, I find that all 16 cores are being used, but not fully; in other words all cores are active, but the total CPU usage is only 50
...
- asked by Luther (8 votes), answered by Szabolcs (17 votes)
================================== Greatest hits from previous weeks: ==================================
[How was Mathematica built?] http://mathematica.stackexchange.com/questions/106020/how-was-mathematica-built
I’ve been wondering this for a while now: How was Mathematica built?
Is it written in Haskell? C++? I’d love to get a taste of the wizardry behind this incredible software.
- asked by Chet (17 votes), answered by Sjoerd C. de Vries (23 votes)
—————————-
[How do I clear all user defined symbols?] http://mathematica.stackexchange.com/questions/850/how-do-i-clear-all-user-defined-symbols
Is there some way to do this other than going to Evaluation -> Quit kernel and firing a new one up?
- asked by niklasfi (42 votes), answered by Artes (36 votes)
================================== Can you answer these? ==================================
[How can I define MakeBoxes for Inactive forms user-defined heads?] http://mathematica.stackexchange.com/questions/115638/how-can-i-define-makeboxes-for-inactive-forms-user-defined-heads
Here I define a MakeBoxes for Times:
MakeBoxes[p : Inactive[Times][args___], form_] := MakeBoxes[Interpretation[HoldForm@myHead[args], p], form] And it works as expected: Inactivate[Times[3, ...
- asked by QuantumDot (2 votes)
—————————-
[Quits Kernel during evaluation of CreateTopologies] http://mathematica.stackexchange.com/questions/115660/quits-kernel-during-evaluation-of-createtopologies
I am using Feynarts 3.9 and FeynCalc 9.0.1 with Mathematica 10. Every time I load FeynArts with FeynCalc and execute
t = CreateTopologies[1, 1 -> 2];
mathematica quits the kernel after a few ...
- asked by Heerak Banerjee (1 vote)
—————————-
[Inconsistent performance of code] http://mathematica.stackexchange.com/questions/115634/inconsistent-performance-of-code
I’m trying to do some optimizations to my code to make it run faster, but it seems that there are inconsistencies in the performance of the code. Namely, the codes have different performance in ...
- asked by xslittlegrass (5 votes)