11.26 July 8,2014
==================================
Top new questions this week:
==================================
[Quick way to use conditioned patterns when defining multi-argument
function?]\url{http://mathematica.stackexchange.com/questions/52057/quick-w
ay-to-use-conditioned-patterns-when-defining-multi-argument-function}
I have a simple function that is supposed to only accept numeric values
(i.e. complex/real numbers and constant symbols e.g. Pi, E).
$$f(a,b,c)=a+b+c$$
Edit: I should have chosen a less simple ...
- asked by seismatica (13 votes), answered by Mr.Wizard (14 votes)
----------------------------
[ToExpression fails with long nested string
expressions]\url{http://mathematica.stackexchange.com/questions/52097/toexp
ression-fails-with-long-nested-string-expressions}
Consider the following conversion from String to Mathematica Expression:
n = 10;
ToExpression[Table["{", {n}] <> Table["}", {n}]]
{{{{{{{{{{}}}}}}}}}}
Everything is fine.
However, when ...
- asked by shrx (10 votes), answered by Mr.Wizard (7 votes)
----------------------------
[The mysterious gap inside
Grid]\url{http://mathematica.stackexchange.com/questions/52185/the-mysterio
us-gap-inside-grid}
There's this gap inside Grid which I cannot seem to remove. Perhaps
someone knows how.
blocks = Table[{Graphics[{Darker@Green, Rectangle[{0, 0}, {1000,
200}]}]}, {i, 6}]
myGrid = Grid[blocks, ...
- asked by Jonie (8 votes), answered by Mr.Wizard (3 votes)
----------------------------
[Why are functions called first-class objects in
Mathematica?]\url{http://mathematica.stackexchange.com/questions/52064/why-
are-functions-called-first-class-objects-in-mathematica}
I've heard lots of people say a function is a first-class object in
Mathematica. "Everything is an expression, including function." "There
is no distinction between functions and data."
Having read ...
- asked by Eric (8 votes), answered by nikie (12 votes)
----------------------------
[Dual graph of an arbitrary (planar)
graph]\url{http://mathematica.stackexchange.com/questions/52056/dual-graph-
of-an-arbitrary-planar-graph}
Every planar graph has a dual. How can I obtain it with Mathematica?
I know that GraphData provides the DualGraph property for its named
graphs, but I have found no method for computing the dual of ...
- asked by user16311 (7 votes), answered by Grisha Kirilin (9 votes)
----------------------------
[256 Shades of
Grey]\url{http://mathematica.stackexchange.com/questions/52099/256-shades-o
f-grey}
I noticed that the following line,
Image[Table[x, {y, 1, 250}, {x, 30/256, 40/256, 0.02/256}],
Magnification -> 1]
results in the following image:
In the preceding image, there are 10 ...
- asked by DumpsterDoofus (7 votes), answered by joojaa (5 votes)
----------------------------
[Implementing key-value associations in Mathematica 9 with inexact
numbers for
keys]\url{http://mathematica.stackexchange.com/questions/51997/implementing
-key-value-associations-in-mathematica-9-with-inexact-numbers-for-ke}
I'm not sure of what type of problem my issue falls into, so I haven't
been able to search forums with any success. If this has already been
solved then my apologies!
Essentially I'm trying to set a ...
- asked by Andrew Stewart (7 votes), answered by Michael E2 (2 votes)
==================================
Greatest hits from previous weeks:
==================================
[Is Mathematica an Implementation of the Wolfram
Language?]\url{http://mathematica.stackexchange.com/questions/37557/is-math
ematica-an-implementation-of-the-wolfram-language}
I am trying to figure out what the announcement of the Wolfram Language
means for Mathematica.
Is Mathematica an implementation of the Wolfram Language, or is it
something else?
- asked by Eric Brown (43 votes), answered by Joel Klein (18 votes)
----------------------------
[Calling MATLAB from
Mathematica]\url{http://mathematica.stackexchange.com/questions/10231/calli
ng-matlab-from-mathematica}
How can I call MATLAB functions directly from Mathematica and transfer
data/variables between the two systems?
- asked by siva82kb (33 votes), answered by Szabolcs (43 votes)
==================================
Can you answer these?
==================================
[Compiled
NormFunction]\url{http://mathematica.stackexchange.com/questions/52202/comp
iled-normfunction}
I would like to use a user-defined NormFunction with NDSolve, e.g.,
NormFunction -> (Norm[Take[#, 2], \[Infinity]] &)
which says that the infinity norm should be used on the first two state
...
- asked by jaclea (1 vote)
----------------------------
[Calculating probabilities
symbolically]\url{http://mathematica.stackexchange.com/questions/51994/calc
ulating-probabilities-symbolically}
Is there a way to solve for statistical quantities
analytically/symbolically in Mathematica?
example 1:
Lets say that I want to do a calculation that requires Bayes theorem.
I know p(a), p(b) and ...
- asked by kamula (5 votes)
----------------------------
[How to implement nested With as a single construct using functional
programming
(Fold)?]\url{http://mathematica.stackexchange.com/questions/51976/how-to-im
plement-nested-with-as-a-single-construct-using-functional-programming}
It is possible to define my own With construct where each local constant
can depend on the previous defined local constants?
I wish to replace something like this
With[{m=10},
With[{h=1/m},
...
- asked by unlikely (1 vote)