topic I don't know of any such in IntelĀ® oneAPI Math Kernel Library
https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Data-thinning/m-p/1128130#M25411
<P>I don't know of any such routines, but it appears to me that no routine is needed. Please expand on what you mean by "data thinning", and why you wish to use euclidean distance instead of geodesic distance.</P>
<P>If you really wish to use euclidean distance, use the elementary transformation from spherical polar coordinates to rectangular coordinates. If you only wish to rank items by distance, the distance<SUP>2</SUP> is equally good and more convenient for sorting.</P>
<P>If the distances are large (relative to the radius of the sphere), you really should use the great circle distance since the flat-earth approximation is quite inaccurate. See the Wikipedia article on the Haversine Formula: <A href="https://en.wikipedia.org/wiki/Haversine_formula" target="_blank">https://en.wikipedia.org/wiki/Haversine_formula</A> . Again, if ranking is the goal, it may be sufficient to rank by {sin(distance/diameter)}<SUP>2</SUP> instead of the distances, You may also consider pre-computing and storing a table of haversines.</P>
<P>The distance calculation is more complicated if you wish to account for deviations from sphericity.</P>Thu, 13 Sep 2018 02:02:38 GMTmecej42018-09-13T02:02:38ZData thinning
https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Data-thinning/m-p/1128129#M25410
<P>Hello,</P>
<P>Can someone recommend routine(s) that would help with data thinning based on Euclidean distance between points? The locations may be e.g. latitudes and longitudes.</P>
<P>Thanks,</P>
<P> </P>Wed, 12 Sep 2018 21:03:22 GMThttps://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Data-thinning/m-p/1128129#M25410mzp2018-09-12T21:03:22ZI don't know of any such
https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Data-thinning/m-p/1128130#M25411
<P>I don't know of any such routines, but it appears to me that no routine is needed. Please expand on what you mean by "data thinning", and why you wish to use euclidean distance instead of geodesic distance.</P>
<P>If you really wish to use euclidean distance, use the elementary transformation from spherical polar coordinates to rectangular coordinates. If you only wish to rank items by distance, the distance<SUP>2</SUP> is equally good and more convenient for sorting.</P>
<P>If the distances are large (relative to the radius of the sphere), you really should use the great circle distance since the flat-earth approximation is quite inaccurate. See the Wikipedia article on the Haversine Formula: <A href="https://en.wikipedia.org/wiki/Haversine_formula" target="_blank">https://en.wikipedia.org/wiki/Haversine_formula</A> . Again, if ranking is the goal, it may be sufficient to rank by {sin(distance/diameter)}<SUP>2</SUP> instead of the distances, You may also consider pre-computing and storing a table of haversines.</P>
<P>The distance calculation is more complicated if you wish to account for deviations from sphericity.</P>Thu, 13 Sep 2018 02:02:38 GMThttps://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Data-thinning/m-p/1128130#M25411mecej42018-09-13T02:02:38ZThanks mecej4 for your
https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Data-thinning/m-p/1128131#M25412
<P>Thanks mecej4 for your response.</P>
<P>Yes, I will use the geodesic distance but wanted to make it simple since I thought more people would understand what I mean.</P>
<P>The thinning is for satellite observations which might be available at very high spatial resolutions (i.e. very close distance from each other) but such density is required for certain applications. So I am looking for a code that would retain sample of these observations. E.g. data come in pixels that are 1 km apart but keeping just pixels that are 50 km apart is sufficient for this purpose. There are some thinning algorithms but writing own code that would include parallel processing can be quite tedious. So, I am looking for a shortcut to use a code that is already available possibly for a similar purpose. Thanks for any suggestions.</P>Thu, 13 Sep 2018 15:57:09 GMThttps://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Data-thinning/m-p/1128131#M25412mzp2018-09-13T15:57:09Z