octave-patch-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-patch-tracker] [patch #9958] [octave forge](mapping) gcxgc


From: Philip Nienhuis
Subject: [Octave-patch-tracker] [patch #9958] [octave forge](mapping) gcxgc
Date: Fri, 7 Aug 2020 07:53:01 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 6.1; rv:52.0) Gecko/20100101 Firefox/52.0

Follow-up Comment #14, patch #9958 (project octave):

Thanks, we're getting closer I think.

Better morph the test for non-uniqueness from regular test into a warning
check:

%!warning <non-unique> [lat3, lon3] = gcxgc (0, 0, 45, 0, 180, -45);


(note semicolons at end, had better be there for error checks as well although
errors return no output values).

Another simple non-uniqueness test that still fails:

>> [a, b] = gcxgc (45, 45, 90, -45, -135, 90)
a =
   54.736  -54.736
b =
    45  -135


(note: horizontal EW azimuth at (45, 45) and its antipode (-45, -135)
where Matlab correctly returns NaNs and warns.

Same for about any coordinates & azimuth, their antipodes & (-rem (azimuth,
180))


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/patch/?9958>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]