11.12 Tuesday, October 14, 2014
==================================
Top new questions this week:
==================================
[Assign a randomly generated list to
variable]\url{http://mathematica.stackexchange.com/questions/62921/assign-a
-randomly-generated-list-to-variable}
I don't know if this is a silly question, but it really baffles me. So
please help me understand this behavior.
list=RandomInteger[100,100]
I interpret the (silly) code above as randomly generating ...
- asked by Naitree (19 votes), answered by rhermans (5 votes)
----------------------------
[Dataset seems unable to handle ListDensityPlot and
ListContourPlot]\url{http://mathematica.stackexchange.com/questions/61572/d
ataset-seems-unable-to-handle-listdensityplot-and-listcontourplot}
If I create a Dataset:
dataSet = Dataset[
AssociationThread[{"a", "b", "c", "d", "e"} -> #] & /@
RandomReal[{-1, 1}, {1000, 5}]
];
It should be easy to use a plotting function on it
...
- asked by gpap (15 votes), answered by RunnyKine (14 votes)
----------------------------
[Make my data-structure
atomic]\url{http://mathematica.stackexchange.com/questions/61587/make-my-da
ta-structure-atomic}
Lately, and by lately I mean since version 7 or so, the number of atomic
expressions in Mathematica constantly grew. In former times only the
native types like integers and optimised arrays were ...
- asked by halirutan (14 votes), answered by Leonid Shifrin (10 votes)
----------------------------
[Applying different functions to different columns of a
Dataset]\url{http://mathematica.stackexchange.com/questions/61710/applying-
different-functions-to-different-columns-of-a-dataset}
Suppose I have different functions: Total, Mean and Max and the
following Dataset
SeedRandom[0]
dataSet = Dataset[AssociationThread[{"a", "b", "c", "d"} -> #] &
/@ RandomReal[4, {10, 4}]]
...
- asked by smayhem (13 votes), answered by RunnyKine (9 votes)
----------------------------
[Sorting Lists of lists of arbitrary
length]\url{http://mathematica.stackexchange.com/questions/61560/sorting-li
sts-of-lists-of-arbitrary-length}
I'm trying to sort a list of lists. The sublists are defined in length,
but the length of the list containing it varies.
A simplified set might be:
{{1, 2, 3}, {7, 1, 4}, {3, 5, 6}, {10, 7, 1}}
...
- asked by Rick R (10 votes), answered by RunnyKine (11 votes)
----------------------------
[Best way to find permutation with specific
total]\url{http://mathematica.stackexchange.com/questions/62956/best-way-to
-find-permutation-with-specific-total}
Can anyone suggest a good way to find permutations of 12 digits, 0 to 4,
totalling 24.
I.e. two such permutations:-
{2, 1, 4, 1, 2, 2, 2, 2, 2, 2, 1, 3} // Total
24
{4, 4, 4, 4, 4, 4, 0, 0, ...
- asked by Chris Degnen (9 votes), answered by thils (6 votes)
----------------------------
[Segmentation of a microscopy image with uneven
illumination]\url{http://mathematica.stackexchange.com/questions/62976/segm
entation-of-a-microscopy-image-with-uneven-illumination}
I am trying to do a little image segmentation on some cells taken from
microscopy images that have uneven illumination. I am having trouble
getting the background of the image cleaned up after ...
- asked by user13999 (9 votes), answered by bobthechemist (4 votes)
==================================
Greatest hits from previous weeks:
==================================
[Alternatives to procedural loops and iterating over lists in
Mathematica]\url{http://mathematica.stackexchange.com/questions/7924/altern
atives-to-procedural-loops-and-iterating-over-lists-in-mathematica}
While there are some cases where a For loop might be reasonable, it's a
general mantra one I subscribe to myself that "if you are using a
For loop in Mathematica, you are probably doing it wrong". ...
- asked by Mr.Wizard (91 votes), answered by Mr.Wizard (59 votes)
----------------------------
[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)
==================================
Can you answer these?
==================================
[Error messages from TensorContract and
TensorReduce]\url{http://mathematica.stackexchange.com/questions/61719/erro
r-messages-from-tensorcontract-and-tensorreduce}
I am struggling with a few errors when using symbolic tensors.
I am using mathematica 9.0.1.0, linux x86.
The following code generates what seems to me an incorrect tensor, this
is the smallest ...
- asked by Artur Gower (4 votes)
----------------------------
[Oddify an even function and vice
versa?]\url{http://mathematica.stackexchange.com/questions/62957/oddify-an-
even-function-and-vice-versa}
I want to know how to construct a function in Mathematica which would
produce even analog of odd function and vice versa in closed form?
The mathematical definitions are as follows:
...
- asked by Anixx (2 votes)
----------------------------
[Create SQL Database on a manually specified
directory]\url{http://mathematica.stackexchange.com/questions/61568/create-
sql-database-on-a-manually-specified-directory}
I am inserting lots of data into the preinstalled SQL Database in MM:
con= OpenSQLConnection["demo"] > SQLCreateTable[con,
SQLTable["anyname"], SQLcolums] > ...
I am running out of disk space on my ...
- asked by Patrick Bernhard (2 votes)