21,115 reputation
232104
bio website
location
age
visits member for 1 year, 11 months
seen 19 hours ago

19h
answered Randomly changing matrix entries
2d
awarded  Nice Answer
Oct
26
reviewed Close Findfit doesn't provide reasonable results when fitting a complex function
Oct
26
reviewed Close Plotting two functions in one graph, with different value ranges
Oct
26
reviewed Close Juxtapose 2D and 3D plots
Oct
26
reviewed Close Derivatives of functions with arbitrary number of variables?
Oct
26
reviewed Looks OK Summing over n variables
Oct
23
answered Returning the 3-dimensional vector from a skew symmetric matrix
Oct
23
comment Find the nearest locations for multiple points
Indeed... May be AdjacencyGraph? Because you almost construct the adjacency matrix. Your solution is very good but I believe it is possible to make it even better.
Oct
23
comment Find the nearest locations for multiple points
By the way, can Sqrt@Total[Outer[Plus,balls,-holes,1]]^2,{3}] increase the speed?
Oct
23
revised Find the nearest locations for multiple points
deleted 42 characters in body
Oct
23
comment Find the nearest locations for multiple points
@RahulNarain I knew that it should correspond to a graph problem! Very nice :)
Oct
23
comment Find the nearest locations for multiple points
-> instead of \[DirectedEdge]?
Oct
23
comment Find the nearest locations for multiple points
@novice Anyway, greedy algorithm is bad. It can't get the global minimum. I found that Hungarian algorithm is exactly what you want. It is a polynomial algorithm. Unfortunately I have no time to implement it now. This Wolfram demonstration can also be helpful.
Oct
22
answered Find the nearest locations for multiple points
Oct
21
answered Create a ProbabilityDistribution
Oct
21
awarded  Good Answer
Oct
21
answered Removing spurious parenthesis in `TraditionalForm`
Oct
21
comment Calculation the eigensystem of a matrix containing very small numbers
These numbers are smaller then minimum possible machine numbers and the corresponding problem is called "machine underflow". N can't helps here. I believe that SetSystemOptions["CatchMachineUnderflow" -> False] will solve your problem. The closely related question is How to flush machine underflows to zero and prevent conversion to arbitrary precision?.
Oct
21
reviewed Looks OK Generate a sequence of names such as a1, a2, a3