User Portlet
Featured Contributor
Discussions |
---|
Choosing a good whole-planet projection is indeed a pain point for map of any kind, especially once one has learned how all projections have their limitations! Some different centerings for Lambert azimuthal (equal area): ![enter image... |
Now that's a funky projection! Is it purely for aesthetics or are there other reasons for it? :) |
[![enter image description here][1]][1] &[Wolfram Notebook][2] [1]: https://community.wolfram.com//c/portal/getImageAttachment?filename=sdf45gdafv.jpg&userId=11733 [2]:... |
Ah, it may be that I misunderstood something... `RandomSample` removes the sampled value from the value list before sampling again. So, `RandomSample[{1000, 1} -> {1, 2}, 2]` may have 1 only once in a result, and only twice in `RandomSample[{999,... |
You can achieve this with `LinearFractionalTransform`: LinearFractionalTransform[ {{{1, 0, 0}, {0, 1, 0}}, {0, 0}, {0, 0, 1/k}, 1}][{x, y, z}] (* {x/(1 + z/k), y/(1 + z/k)} *) Is it worth... |
Another form would be: #[a] & /@ {Cos, Sin} (* {Cos[a], Sin[a]} *) What you're looking for is probably the following: Through[{Cos, Sin}[a]] (* {Cos[a], Sin[a]} *) You can accomplish the above, by the way, with... |
&[Wolfram Notebook][1] [1]: https://www.wolframcloud.com/obj/d68f138f-39f0-4386-bda9-cfb6d8ebf399 |
Use correct assumptions, probably before calling `Integrate`: Simplify[f[x - Floor[x]], 0 |
Probably so if the coordinates are truly geometric and they are measured in same units on orthogonal axes; otherwise minimising Euclidean distances is likely to only worsen the situation... :) That is, if x and y coordinates are temperature and... |
I'm a bit late to the game, but... For an octant there are roughly $n$ solutions for denominators less or equal to $2 \pi n$. See https://mathematica.stackexchange.com/a/278283/3056, and in particular https://oeis.org/A020882, which is the... |