Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.programming > #16289

Re: Another little puzzle

From "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Newsgroups comp.programming
Subject Re: Another little puzzle
Date 2023-01-11 10:01 +0100
Organization Aioe.org NNTP Server
Message-ID <tplttp$1sts$1@gioia.aioe.org> (permalink)
References (13 earlier) <87v8lgv17t.fsf@bsb.me.uk> <tpgpu1$1asl$1@gioia.aioe.org> <87k01vv40e.fsf@bsb.me.uk> <tpj6ac$56n$1@gioia.aioe.org> <874jsxu70o.fsf@bsb.me.uk>

Show all headers | View raw


On 2023-01-11 03:41, Ben Bacarisse wrote:
> "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de> writes:
> 
>> On 2023-01-09 21:37, Ben Bacarisse wrote:
>>> "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de> writes:
>>>
>>>> On 2023-01-09 04:25, Ben Bacarisse wrote:
>>>>> "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de> writes:
>>>>>
>>>> Firstly, this is comp.programming group.
>>> Do you consider discussion algorithms off topic here?  Seriously?
>>
>> No, I consider off topic discussing mathematical problems /=
>> algorithms. You did not discuss any algorithms so far.
> 
> Algorithms don't come out of thin air.  The objective must be discussed
> first.  You can't seriously think that everyone here should remain
> silent until, out of nowhere, someone says "consider this algorithm to
> find the average of a set of points".

> I explained in the text you cut.  Maybe your reference to the thousands
> of minimisation algorithms was just an off the cuff remark, but it reads
> as if you were suggesting using one as them as the solution to this
> programming task.

Sure. I highly doubt that production code, if ever existed, would use 
some novel algorithm.

>> Anyway, there are lengthy papers on spherical averages introducing
>> iterative solutions, some with source code for the algorithms. That is
>> the right way to compute it, if you really wanted...
> 
> I'd like to read one.  Do you have a citation, please?

Perhaps this could be a starting point:

"Spherical Averages and Applications to Spherical Splines and 
Interpolation" Samuel R. Buss, Jay P. Fillmore

It is not area of my interest and research is not a programming task 
either. And you still completely miss the key point about stating the 
problem. The problems come from the problem spaces. Spherical geometry 
is used in remote sensing, navigation, computer graphics (spherical 
polygons and triangles) etc. You must look for works in these 
application areas first. If the problem were *real* you would already 
have that step behind.

>> [Again, it is not programming. In case of spherical geometry a
>> programmer will find an expert mathematician and who will have the
>> problem properly stated.
> 
> The problem has been properly stated.  We seek an algorithm that finds a
> point that minimises the sum of squares of the great-circle distances
> between that point and the input points.  You could have asked if any of
> this was unclear.  To me it is both clear and intuitive.
> 
>> The next stop is by an expert applied mathematician who will outline a
>> workable numeric solution. Then the programmer can start.]
> 
> Ah, you hand off the task of devising algorithms to mathematicians?

Yep, *numeric* algorithms is an area of applied mathematics.

> That would make programming very dull.  Anyway, you would not tackle
> this sort of problem until an expert applied mathematician has done
> everything except code up a workable numerical solution.  Is that also
> the case for the average angle problem?

If you are not familiar with spherical geometry, numerical approximation 
and optimization, yes.

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de

Back to comp.programming | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Re: Another little puzzle Ben Bacarisse <ben.usenet@bsb.me.uk> - 2022-12-30 01:00 +0000
  Re: Another little puzzle Tim Rentsch <tr.17687@z991.linuxsc.com> - 2022-12-29 23:25 -0800
    Re: Another little puzzle Ben Bacarisse <ben.usenet@bsb.me.uk> - 2022-12-30 14:04 +0000
      Re: Another little puzzle Ben Bacarisse <ben.usenet@bsb.me.uk> - 2022-12-31 00:24 +0000
        Re: Another little puzzle Tim Rentsch <tr.17687@z991.linuxsc.com> - 2022-12-31 06:42 -0800
          Re: Another little puzzle "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de> - 2022-12-31 17:04 +0100
            Re: Another little puzzle Ben Bacarisse <ben.usenet@bsb.me.uk> - 2023-01-01 01:24 +0000
            Re: Another little puzzle Tim Rentsch <tr.17687@z991.linuxsc.com> - 2023-01-08 07:45 -0800
              Re: Another little puzzle "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de> - 2023-01-08 17:17 +0100
                Re: Another little puzzle Ben Bacarisse <ben.usenet@bsb.me.uk> - 2023-01-08 20:41 +0000
                Re: Another little puzzle Richard Heathfield <rjh@cpax.org.uk> - 2023-01-08 21:14 +0000
                Re: Another little puzzle "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de> - 2023-01-08 22:31 +0100
                Re: Another little puzzle Ben Bacarisse <ben.usenet@bsb.me.uk> - 2023-01-09 03:25 +0000
                Re: Another little puzzle "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de> - 2023-01-09 11:22 +0100
                Re: Another little puzzle Ben Bacarisse <ben.usenet@bsb.me.uk> - 2023-01-09 20:37 +0000
                Re: Another little puzzle "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de> - 2023-01-10 09:06 +0100
                Re: Another little puzzle Ben Bacarisse <ben.usenet@bsb.me.uk> - 2023-01-11 02:41 +0000
                Re: Another little puzzle "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de> - 2023-01-11 10:01 +0100
                Re: Another little puzzle Ben Bacarisse <ben.usenet@bsb.me.uk> - 2023-01-12 01:00 +0000
                Re: Another little puzzle Tim Rentsch <tr.17687@z991.linuxsc.com> - 2023-01-10 23:36 -0800
                Re: Another little puzzle Y A <ya00000100000@yahoo.com> - 2023-01-11 02:39 -0800
          Re: Another little puzzle Ben Bacarisse <ben.usenet@bsb.me.uk> - 2023-01-01 01:10 +0000
            Re: Another little puzzle Tim Rentsch <tr.17687@z991.linuxsc.com> - 2023-01-08 07:17 -0800
              Re: Another little puzzle Ben Bacarisse <ben.usenet@bsb.me.uk> - 2023-01-08 19:43 +0000
                Re: Another little puzzle Ben Bacarisse <ben.usenet@bsb.me.uk> - 2023-01-08 19:59 +0000
                Re: Another little puzzle Tim Rentsch <tr.17687@z991.linuxsc.com> - 2023-01-10 23:25 -0800
      Re: Another little puzzle Tim Rentsch <tr.17687@z991.linuxsc.com> - 2022-12-31 06:20 -0800
        Re: Another little puzzle Augǝl <angel0000000001000000000000@mail.ee> - 2022-12-31 10:23 -0800

csiph-web