6.50 Tuesday, January 20, 2015

================================== 
Top new questions this week: 
==================================

[Excessive memory use by Mathematica kernel in 10.0.2 after executing simple commands] http://mathematica.stackexchange.com/questions/71889/excessive-memory-use-by-mathematica-kernel-in-10-0-2-after-executing-simple-comm

Warning: the code below may hang your system if you have the Suggestions Bar enabled.

When issuing the following simple statements to Mathematica, it responds with a valid answer. However, ...

- asked by Simon (18 votes), answered by Simon (8 votes)

—————————-

[What is the purpose of Internal‘LocalizedBlock?]http://mathematica.stackexchange.com/questions/71881/what-is-the-purpose-of-internallocalizedblock

I have come across the (internal) use of of the function:

Internal‘LocalizedBlock

I am trying to determine its purpose. It seem to behave like Internal‘InheritedBlock except that a starting value ...

- asked by Mr.Wizard (14 votes), answered by Dan Fortunato (19 votes)

—————————-

[Least effort to handle a point source inside the domain of PDE(s)]http://mathematica.stackexchange.com/questions/71902/least-effort-to-handle-a-point-source-inside-the-domain-of-pdes

By point source I mean a constrained condition at one point inside the domain of PDE(s). For example:

$$\frac{\partial ^2u(t,x,y)}{\partial t^2}=\frac{\partial 
^2u(t,x,y)}{\partial  ...

- asked by xzczd (13 votes), answered by Rahul (10 votes)

—————————-

[Partitioning with constraints on subsets]http://mathematica.stackexchange.com/questions/71827/partitioning-with-constraints-on-subsets

Given the following data:

constraints = 11, 2, 11, 3, 11, 4, 11, 6, 11, 9, 1, 6, 5, 6, 2, 5;

weights = 3, 7, 3, 2, 4, 2, 2, 2, 3, 2, 1;

I wish to partition the integers from 1 ...

- asked by Simon Woods (13 votes), answered by ybeltukov (6 votes)

—————————-

[Filling to Axis as Arrow]http://mathematica.stackexchange.com/questions/72002/filling-to-axis-as-arrow

In version 9 I could do the following with the output as shown.

ListPlot[Table[{x, x^2}, {x, 0, 1, 0.1}], PlotRange -> All, 
Filling -> Axis, FillingStyle -> (Arrow[#] &)]

Now in ...

- asked by Hugh (11 votes), answered by Mr.Wizard (9 votes)

—————————-

[Label multiple edges between same vertices]http://mathematica.stackexchange.com/questions/72003/label-multiple-edges-between-same-vertices

I have a simple graph with multiple edges between two vertices, say:

Graph[{ 
Labeled[a -> b, "A"], 
Labeled[a -> b, "B"] 
}]

Unfortunately, Mathematica labels both edges "A".

How can I ...

- asked by Thomas Fankhauser (9 votes), answered by kguler (6 votes)

—————————-

[Synchronizing the camera view of multiple Image3D panels within a Manipulate interface]http://mathematica.stackexchange.com/questions/71653/synchronizing-the-camera-view-of-multiple-image3d-panels-within-a-manipulate-int

I’m trying to synchronize the camera view of multiple Image3D panels displayed within a Manipulate interface.

A random 3D image will do for demonstration purposes.

theimg = Image3D[RandomReal[1, ...

- asked by Matt (9 votes), answered by bobthechemist (8 votes)

================================== Greatest hits from previous weeks: ==================================

[How to use Mathematica functions in Python programs?]http://mathematica.stackexchange.com/questions/4643/how-to-use-mathematica-functions-in-python-programs

I’d like to know how can I call Mathematica functions from Python.

I appreciate a example, for example, using the Mathematica function Prime.

I had search about MathLink but how to use it in Python ...

- asked by GarouDan (27 votes), answered by GarouDan (10 votes)

—————————-

[How to make use of Associations?]http://mathematica.stackexchange.com/questions/52393/how-to-make-use-of-associations

I have been curious about it for long. Now that Mathematica 10 arrives, I think it’s time to ask the question: How the new Association data structure would be used to improve Mathematica programming?

...

- asked by Yi Wang (67 votes), answered by Leonid Shifrin (70 votes)

================================== Can you answer these? ==================================

[How to rewrite a nested loop with Reap and Sow]http://mathematica.stackexchange.com/questions/71838/how-to-rewrite-a-nested-loop-with-reap-and-sow

I was wondering if anyone know how to rewrite the following nested loop but using Reap and Sow. I need to reduce the execution time. Thank you.

list = ; AbsoluteTiming[ Do[ AppendTo[list, ]; ...

- asked by Paul (1 vote)

—————————-

[PlotRange->Automatic the exact function used to calculate outliers]http://mathematica.stackexchange.com/questions/71808/plotrange-automatic-the-exact-function-used-to-calculate-outliers

I know that PlotRange->Automatic does the following:

"the distribution of coordinate values is found, and any points sufficiently far out in the distribution are dropped. Such points are often ...

- asked by Nick (2 votes)

—————————-

[How to reduce a quartic form to a quadratic form with equal roots]http://mathematica.stackexchange.com/questions/72083/how-to-reduce-a-quartic-form-to-a-quadratic-form-with-equal-roots

Preface: To clear the theoretical background this question is cross-posted on math.stackexchange here.

I have a polynomial in \(n\) variables of the form

...

- asked by E.O. (3 votes)