4.43 Tuesday, February 21, 2017

================================== 
Top new questions this week: 
==================================

[How can I adaptively simplify a curved shape?] http://mathematica.stackexchange.com/questions/137937/how-can-i-adaptively-simplify-a-curved-shape

For the purposes of creating a publication-quality plot marker I wish to convert a font glyph into a simplified Polygon where points are taken adaptively according to curvature of the boundary. ...

- asked by Alexey Popkov (22 votes), answered by Szabolcs (29 votes)

—————————-

[Can Mathematica be used to make anamorphic distortions like these?] http://mathematica.stackexchange.com/questions/137853/can-mathematica-be-used-to-make-anamorphic-distortions-like-these

We have all see these sidewalk and street images that appear to be 3D based on the viewers perspective, but then wildly distort when viewed from a different perspective.

Seems to me anamorphic ...

- asked by R Hall (12 votes), answered by Simon Woods (10 votes)

—————————-

[How to implement lane-change rules for Nagel Schreckenberg model] http://mathematica.stackexchange.com/questions/138138/how-to-implement-lane-change-rules-for-nagel-schreckenberg-model

I am trying to extend the Nagel-Schreckenberg model for traffic flow to include two lanes of traffic.

I have a function that generates information about a random initial road configuration. A road ...

- asked by jlrawden (11 votes), answered by Ali Hashmi (5 votes)

—————————-

[How to make a custom NN layer in Mathematica?] http://mathematica.stackexchange.com/questions/138230/how-to-make-a-custom-nn-layer-in-mathematica

Is there a way to create our own custom layers for Neural Networks in Mathematica ? I suspect it should be possible, any pointers or directions on how to go about it?

I am interested in ...

- asked by Andy Stow Away (9 votes)

—————————-

[How to build private function with built-in function’s option] http://mathematica.stackexchange.com/questions/138126/how-to-build-private-function-with-built-in-functions-option

Since this code work well:

Needs["GeneralUtilities`"] 
GeneralUtilities`BenchmarkPlot[{SortBy[#, Identity] &, Sort}, Range, 
 "IncludeFits" -> True, TimeConstraint -> 8]

I want to set ...

- asked by yode (9 votes), answered by Mr.Wizard (11 votes)

—————————-

[Doing combinations of sub-sublists] http://mathematica.stackexchange.com/questions/138178/doing-combinations-of-sub-sublists

To create a list of all the possible combinations of a sublist. I have a list, somewhat resembling the following format:

{{{a1, a2}, {b1}}, {{a1, a2}, {c1, c2}}, {{a1, a2}, {c1, c2}, {d1, d2}}}

...

- asked by Andrew Johnson (8 votes), answered by halirutan (11 votes)

—————————-

[Warning: FrontEnd crash with ‘Graphics@InfiniteLine‘ for unknown symbolic coordinates] http://mathematica.stackexchange.com/questions/137847/warning-frontend-crash-with-graphicsinfiniteline-for-unknown-symbolic-coordi

Bug introduced in 10.0 and persisting through 11.0.1 InfiniteLine is new in 10.0.

  [CASE:3840702] From your description, I gather you are noticing an unexpected crash 
  while trying to evaluate  ...

- asked by masterxilo (8 votes)

================================== Greatest hits from previous weeks: ==================================

[How to add a vertical line to a plot] http://mathematica.stackexchange.com/questions/3561/how-to-add-a-vertical-line-to-a-plot

In the plot below I would like to add two vertical lines at \(x = \frac {\pi }{15} \pm \frac {1}{20}\). How can I do that?

f[x_] := (x^2 z)/((x^2 - y^2)^2 + 4 q^2 x^2) /. {y -> /15, z -> 1, q ->  ...

- asked by sjdh (33 votes), answered by Ajasja (49 votes)

—————————-

[Can Mathematica do symbolic linear algebra?] http://mathematica.stackexchange.com/questions/3242/can-mathematica-do-symbolic-linear-algebra

For instance, is there some way I can say "let A and B be arbitrary real \(m\times n\) and \(k\times m\) matrices,

Simplify[Transpose[Transpose[A].Transpose[B]]]" and Mathematica would simplify it to B.A? 
 ...

- asked by nikie (42 votes), answered by helen (21 votes)

================================== Can you answer these? ==================================

[Calculate PDF of difference of Max and Min for Gaussian random variables] http://mathematica.stackexchange.com/questions/138027/calculate-pdf-of-difference-of-max-and-min-for-gaussian-random-variables

Although this should be a standard question I didn’t find it in SE, and it was a nice exercise in Mathematica.

Let \(x\) and \(y\) be two independent Gaussian random variables with distribution \(N(0,1)\). ...

- asked by Dr. Wolfgang Hintze (3 votes)

—————————-

[Implementing t-SNE (t-Distributed Stochastic Neighbor Embedding)] http://mathematica.stackexchange.com/questions/137955/implementing-t-sne-t-distributed-stochastic-neighbor-embedding

Context

Six months ago @M.R. asked about an implementation of the 
t-Distributed Stochastic Neighbor Embedding (t-SNE) algorithm by van der 
Maaten and Hinton (2008). (@M.R.'s question) 
 
@Alexey  ...

- asked by SumNeuron (3 votes)

—————————-

[Is there an easy way to to collect a large number variables into a list or list of lists?] http://mathematica.stackexchange.com/questions/138225/is-there-an-easy-way-to-to-collect-a-large-number-variables-into-a-list-or-list

I have a large number of variables in a notebook from a data analysis routine, the results of which now need to be fed through a mathematical model and various items for visualization.

For example, ...

- asked by Joe Kissling (2 votes)