7.11 Tuesday, October 21, 2014
==================================
Top new questions this week:
==================================
[Total much slower in version
10]\url{http://mathematica.stackexchange.com/questions/63209/total-much-slo
wer-in-version-10}
Compilation nowadays may give very fast functions. Here is an example
for finding the sum of a list of machine numbers, just as the built-in
function Total:
myTotal = Compile[{{lst, _Real, 1}},
...
- asked by Fred Simons (15 votes), answered by Karsten 7. (5 votes)
----------------------------
[Drawing the schematic diagram of
algorithm]\url{http://mathematica.stackexchange.com/questions/63471/drawing
-the-schematic-diagram-of-algorithm}
The B-Spline function used the alogrithm as shown below:
I would like to draw it in Mathematica (Although this is my first time
to use TreePlot)
TreePlot[
{1 -> 2, 1 -> 3, 2 -> 4, ...
- asked by ShutaoTang (14 votes), answered by kguler (9 votes)
----------------------------
[How can I evaluate only a single step of a recursive
function?]\url{http://mathematica.stackexchange.com/questions/63256/how-can
-i-evaluate-only-a-single-step-of-a-recursive-function}
Let's say have a simple recursive function for the Fibonacci sequence
f[0] := 1
f[1] := 1
f[n_] := f[n - 1] + f[n - 2]
but I want to see how it will expand in a given number of steps, but not
all ...
- asked by Jakub Arnold (12 votes), answered by Daniel Lichtblau (16
votes)
----------------------------
[How to build a 3D graph from a 3D
matrix?]\url{http://mathematica.stackexchange.com/questions/63428/how-to-bu
ild-a-3d-graph-from-a-3d-matrix}
Following this
and that question
and the corresponding answers, Mathematica can build 2D graph from 2D
matrices.
Question
How to make the corresponding 3D graphs from 3D cubes?
Attempt
...
- asked by chris (11 votes), answered by kguler (5 votes)
----------------------------
[Listable functions thread over Associations; is this
documented?]\url{http://mathematica.stackexchange.com/questions/63293/lista
ble-functions-thread-over-associations-is-this-documented}
Thanks to a somewhat misapplied use of MapThread I learned of this
behavior:
<|a -> 1, b -> 2|> + <|a -> 5, b -> 6|>
<|a -> 6, b -> 8|>
Furthermore this ...
- asked by Mr.Wizard (10 votes), answered by m_goldberg (3 votes)
----------------------------
[Bug(?) in version 10: Tooltip and
ListPointPlot3D]\url{http://mathematica.stackexchange.com/questions/63667/b
ug-in-version-10-tooltip-and-listpointplot3d}
Bug introduced in 10.0.0
The coordinates of a point in a three dimensional graph can be shown in
a tooltip:
ListPointPlot3D[Tooltip[RandomReal[{0, 1}, {50, 3}]], PlotStyle ->
{PointSize[.02]}]
...
- asked by Fred Simons (9 votes)
----------------------------
[How to align rotated BarChart
labels?]\url{http://mathematica.stackexchange.com/questions/63263/how-to-al
ign-rotated-barchart-labels}
I'd like to use long text labels for a simple BarChart, but when I apply
a rotation to label strings with different lengths the end of the text
is no longer aligned with the bars in the chart:
...
- asked by dionys (9 votes), answered by Brett Champion (10 votes)
==================================
Greatest hits from previous weeks:
==================================
[How to make use of
Associations?]\url{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 (53 votes), answered by Leonid Shifrin (54 votes)
----------------------------
[Programming paradigm
change]\url{http://mathematica.stackexchange.com/questions/45829/programmin
g-paradigm-change}
I'm new to Mathematica, I've been learning by myself, and, being a Java
developer for some time, it makes it hard to adapt.
I've tried to solve a Reddit challenge, and I came up with this
solution:
...
- asked by MHero (28 votes), answered by WReach (48 votes)
==================================
Can you answer these?
==================================
[Visualise sets giving some relations on those
sets]\url{http://mathematica.stackexchange.com/questions/63391/visualise-se
ts-giving-some-relations-on-those-sets}
I'm not very experienced with wolfram, but I'm searching for a function
that can basicly do the following.
Giving some sets $A,B,C$ and some relations for example $B \subset
A$,$C\subset B$. I would ...
- asked by Kasper (1 vote)
----------------------------
[StyleSheet for custom
application]\url{http://mathematica.stackexchange.com/questions/63313/style
sheet-for-custom-application}
I'm working on a package that for some reasons needs to be installed
into a "non standard" path, that means neither $BaseDirectory or
$UserBaseDirectory
I added the package's path to the variable ...
- asked by bobknight (1 vote)
----------------------------
[ListContourPlot in
V10]\url{http://mathematica.stackexchange.com/questions/63653/listcontourpl
ot-in-v10}
It seems that I obtain different results when using ListContourPlot
under V9 and V10.
Using this datafile http://pastebin.com/2p4ew0NJ (modified to use
pastebin), this code:
ListContourPlot[cm, ...
- asked by alessandro (1 vote)