================================== Top new questions this week: ==================================
[Is building an event-based parser possible/reasonable in Mathematica (WL)?] https://mathematica.stackexchange.com/questions/157834/is-building-an-event-based-parser-possible-reasonable-in-mathematica-wl
Too long? Go to Problems section
Background
I like to learn by doing small, sometimes artificial, projects. Among other things I had ’parsers’, and ’stream methods / streams in MMA’ on my to learn ...
- asked by Kuba (11 votes)
—————————-
[Test if a list is a constant integer multiple of another list] https://mathematica.stackexchange.com/questions/157783/test-if-a-list-is-a-constant-integer-multiple-of-another-list
I have a list of lists, and I want to eliminate all the lists that are constant integer multiples of another list. My initial approach was to divide the lists using nested tables.
ex1 = {{1, 1, 1}, ...
- asked by Lokdal (10 votes), answered by Mr.Wizard (9 votes)
—————————-
[Cannot Reproduce Answer to 99576] https://mathematica.stackexchange.com/questions/157889/cannot-reproduce-answer-to-99576
Bug introduced between versions 10.1 and 10.4, and persisting through 11.2. Reported to Wolfram, Inc as CASE:3958778.
Using either 11.2 or 10.4 on Windows 10 (64 bit), I am unable to reproduce the ...
- asked by bbgodfrey (9 votes)
—————————-
[Does ‘SeedRandom‘ give the same set of random numbers across operating systems?] https://mathematica.stackexchange.com/questions/157621/does-seedrandom-give-the-same-set-of-random-numbers-across-operating-systems
If I use
SeedRandom[12345] RandomReal[{0,1},100]
I get the same random numbers on two versions of Mathematica: 10.4.1.0 on Windows 10 and 11.1.1.0 on Windows 7.
But does the same seed get the ...
- asked by JimB (9 votes), answered by halirutan (8 votes)
—————————-
[Fill the data of an Association based on a list] https://mathematica.stackexchange.com/questions/157852/fill-the-data-of-an-association-based-on-a-list
Consider the following the list and association.
list1 = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}; asc = <|1 -> a, 4 -> b, 7 -> c, 10 -> d|>;
I would like to create an association which ...
- asked by Anjan Kumar (7 votes), answered by Kuba (5 votes)
—————————-
[How to extract data points from two graphics and find the intersections between them?] https://mathematica.stackexchange.com/questions/157787/how-to-extract-data-points-from-two-graphics-and-find-the-intersections-between
I am working on a mathematical problem called "Buffon’s Needle". Here is the setup I made:
point[v_, u_] := Normalize[v - u] + u experiment50 = Show[ Graphics[ Table[{ RGBColor[0, 0, 0], ...
- asked by Anna Morales Melgares (7 votes), answered by kglr (7 votes)
—————————-
[How to thread over ragged list while skipping empty sub-lists?] https://mathematica.stackexchange.com/questions/157635/how-to-thread-over-ragged-list-while-skipping-empty-sub-lists
I have a very large ragged list result that is a list of list of pairs where sometimes the sub-list contains the empty list.
res = {{{20, 1}, {200, 2}}, {{}}, {{175, 1}}};
In the above minimal ...
- asked by Edmund (7 votes), answered by kglr (9 votes)
================================== Greatest hits from previous weeks: ==================================
[LaTeXand Mathematica] https://mathematica.stackexchange.com/questions/736/latex-and-mathematica
I quite often would like to draw graphics in my LaTeXdocuments using Mathematica. I have encountered three problems. I would like to know if there are any workarounds to these problems
I would ...
- asked by Thomas Rot (108 votes), answered by Simon (40 votes)
—————————-
[Code that generates a mandala] https://mathematica.stackexchange.com/questions/136974/code-that-generates-a-mandala
My little brother asked me to print original mandalas for coloring. I would like some idea on how to create them, but without color, so he can color them.
examples
- asked by zeros (48 votes), answered by Anton Antonov (71 votes)
================================== Can you answer these? ==================================
[Export BatchNormalizationLayer as MXNet] https://mathematica.stackexchange.com/questions/157856/export-batchnormalizationlayer-as-mxnet
I just tried to import a net from mathemtica into pythons using MXNet. It works fine with the following manual.
However, as soon as I try to add a BatchNormalizationLayer to my net MXNets bind() ...
- asked by MaxJ (3 votes)
—————————-
[ListPlot point colors by list of colorfunctions] https://mathematica.stackexchange.com/questions/157963/listplot-point-colors-by-list-of-colorfunctions
I would like to display the positions of a collection of particles as a function of time (animated) and color code them based on their velocities. For example, consider 10 particles moving in a 2D ...
- asked by SeanM (1 vote)
—————————-
[Why are Label Pixelated?] https://mathematica.stackexchange.com/questions/157693/why-are-label-pixelated
It seems that Mathematica implements the processing of labels quite different for different plot-functions.
The good -> Plot[]: l1 = GraphPlot[Table[i -> 1, {i, 0, 1}]] TPlot = Plot[{Cos[x], ...
- asked by Freeman (2 votes)