Timeline for How to generate approximately equally spaced points efficiently
Current License: CC BY-SA 3.0
14 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Apr 12, 2017 at 13:58 | comment | added | Kagaratsch | @yode You can replace the {ii, 10, 20} in the definition of data by i.e. {ii, 20, 30}. This will yield a speedup in calculation but increase the error spread in number of points that are generated. | |
| Apr 11, 2017 at 23:11 | history | edited | Kagaratsch | CC BY-SA 3.0 | deleted 7 characters in body |
| Apr 11, 2017 at 23:02 | comment | added | Kagaratsch | @yode see new update. | |
| Apr 11, 2017 at 23:02 | history | edited | Kagaratsch | CC BY-SA 3.0 | added 351 characters in body |
| Apr 11, 2017 at 22:45 | comment | added | yode | How about more complicated region?Such as BoundaryDiscretizeGraphics[Text["K"], _Text] | |
| Apr 11, 2017 at 22:37 | comment | added | Kagaratsch | @yode see the update of the trivial solution above. This allows to generate a distribution of approximately the desired amount of points. The error is always within a few percent, as far as I have tested. | |
| Apr 11, 2017 at 22:35 | history | edited | Kagaratsch | CC BY-SA 3.0 | added 380 characters in body |
| Mar 28, 2017 at 16:47 | comment | added | yode | Actually don't very agree. :) | |
| Mar 28, 2017 at 16:45 | comment | added | Kagaratsch | @yode Honestly, density of points might be a more objective measure than number of points, since you never know what total area the region has before you generate it. So being able to adjust the spacing is probably more useful than number of points. Don't you agree? | |
| Mar 28, 2017 at 16:41 | comment | added | Kagaratsch | For given region, you could get desired number of points by fine tuning the spacing variable. Requires some trial and error, or you could write a short minimization routine... Would make it slower though. | |
| Mar 28, 2017 at 16:37 | comment | added | yode | Thanks for the new update. :)And it's seem cannot control the number of points still? | |
| Mar 28, 2017 at 16:33 | history | edited | Kagaratsch | CC BY-SA 3.0 | added 509 characters in body |
| Mar 28, 2017 at 15:46 | history | edited | Kagaratsch | CC BY-SA 3.0 | deleted 53 characters in body |
| Mar 28, 2017 at 14:07 | history | answered | Kagaratsch | CC BY-SA 3.0 |