8.1 December 31, 2013
==================================
Top new questions this week:
==================================
[How to generate a random
snowflake]\url{http://mathematica.stackexchange.com/questions/39361/how-to-
generate-a-random-snowflake}
'Tis the season...
And it's about time I posed my first question on Mathematica Stack
Exchange.
So, here's an holiday quest for you Graphics (and P-Chem?) gurus.
What is your best code for generating ...
- asked by Peltio (79 votes), answered by Silvia (107 votes)
----------------------------
[Exporting extremely large images; arrays generated via TensorProduct
use 5 times as much RAM as
expected?]\url{http://mathematica.stackexchange.com/questions/39412/exporti
ng-extremely-large-images-arrays-generated-via-tensorproduct-use-5-times
> }
I am generating plots of the roots of certain classes of polynomials, in
the spirit of the multicolored visuals on the Wiki page on algebraic
numbers. I've thus far been able to make some extremely ...
- asked by DumpsterDoofus (15 votes), answered by ybeltukov (11 votes)
----------------------------
[Plot discontinuous function with black and white disks marking
discontinuities]\url{http://mathematica.stackexchange.com/questions/39445/p
lot-discontinuous-function-with-black-and-white-disks-marking-discontinu
ities}
Let's say I'd like to plot Sign[x + 0.5]:
Plot[Sign[x + 0.5], {x, -1, 1}]
Mathematica will give this:
This plot does not show very clearly the value of Sign[x + 0.5] at x =
-0.5: is it 1? is ...
- asked by user11426 (11 votes), answered by Michael E2 (15 votes)
----------------------------
[Zero-dimensional
matrices]\url{http://mathematica.stackexchange.com/questions/39522/zero-dim
ensional-matrices}
In a recent Mathematica project, $(n \times 0)$- and $(0 \times
n)$-dimensional matrices have suddenly become a frustratingly common
edge case for me. For instance, consider the following two ...
- asked by Eric Peterson (10 votes), answered by Michael E2 (4 votes)
----------------------------
[Can I return lists with different dimensions from a compiled
function?]\url{http://mathematica.stackexchange.com/questions/39360/can-i-r
eturn-lists-with-different-dimensions-from-a-compiled-function}
Sometimes I'll need several lists with different dimensions to be
returned by a compiled function, but compiled function will fail if an
irregular list contained:
(* The real case is of course much ...
- asked by xzczd (10 votes), answered by Michael E2 (3 votes)
----------------------------
[Output from Wolfram language in
Python]\url{http://mathematica.stackexchange.com/questions/39546/output-fro
m-wolfram-language-in-python}
I have a Python program which will run a script in the Wolfram language
and then return to the main program. Is it possible to return
values/variables to the main program?
This is the code in Python ...
- asked by Hamoudy (9 votes), answered by halirutan (14 votes)
----------------------------
[Is it Possible to change dashes into circles with Plot
command?]\url{http://mathematica.stackexchange.com/questions/39394/is-it-po
ssible-to-change-dashes-into-circles-with-plot-command}
Is it possible to change the Dashed Style of a curve into circles with
Plot command ?
Plot[Cos[x], {x, 0, 2*Pi}, PlotStyle -> Directive[Dashed,
Thickness[0.005]]]
- asked by kamran (9 votes), answered by m_goldberg (4 votes)
==================================
Greatest hits from previous weeks:
==================================
[Are you interested in purchasing David Wagner's "Power programming with
Mathematica"?]\url{http://mathematica.stackexchange.com/questions/16485/are
-you-interested-in-purchasing-david-wagners-power-programming-with-mathe
mat}
I recently contacted McGraw-Hill to see if they have a mechanism in
place for printing out-of-print books that are still of interest.
Specifically, I asked about "Power programming with Mathematica" ...
- asked by Todd Allen (98 votes), answered by Todd Allen (126 votes)
----------------------------
[Pick elements of largest absolute
value]\url{http://mathematica.stackexchange.com/questions/31385/pick-elemen
ts-of-largest-absolute-value}
For example, given
list = {{1, -3, -5}, {2, 1, 6}, {0, 2, 4}, {-9, 2, 6}}
should return:
{-5, 6, 4, -9}
Updated
I found a undocumented function called "Internal`MaxAbs",but it only
accept two ...
- asked by expression (16 votes), answered by Simon Woods (20 votes)
==================================
Can you answer these?
==================================
[How to extract structured array data from DefineDLLFunction in
Mathematica]\url{http://mathematica.stackexchange.com/questions/39637/how-t
o-extract-structured-array-data-from-definedllfunction-in-mathematica}
I want to use my Bluechip PCI-ADC acquisition card in Mathematica via
his dynamic link library Bcdll32.dll; (used to access functions on my
PCI data acquisition cards). My problem is the function ...
- asked by ROSU CONSTANTIN (3 votes)
----------------------------
[Return struct from function (with
DownValues)]\url{http://mathematica.stackexchange.com/questions/39520/retur
n-struct-from-function-with-downvalues}
In Mathematica there is a way to create struct-like data type:
struct[myField]=value
I want to return myStruct from a function:
getStruct[input_List] := Module[{struct},
(*populate ...
- asked by EvgenijM86 (3 votes)
----------------------------
[Setting bash environment within external
call]\url{http://mathematica.stackexchange.com/questions/39509/setting-bash
-environment-within-external-call}
I would like to run external command from Mathematica. For this I need
to have bash environment configured via reading the content of
${HOME}/.bashrc file. When I execute the following code in ...
- asked by mmal (1 vote)