Charles Karney

Results 12 issues of Charles Karney

(1) Accuracy has been improved in the set up of the _twiddles array. Now sin and cos are only evaluated for angles in [-pi/4, pi/4] and all the elementary symmetries...

It would be nice if `quarter_meridian`, `meridian_direct`, and `meridian_inverse` all used consistent approximations. Instead: * `quarter_meridian` is accurate to `n^16` with the coefficient given to full precision. * `meridian_direct` is...

@awulkiew: This is in response to a comment you made to pull request #431. I thought it a good idea to split this discussion into a separate issue. For the...

enhancement
question

Nothing refers to `src/tests/multistresstest.cpp`. It *sounds* like a good test to do. It should either be reinstates or removed.

The formula used for the centroid of a spherical triangle in gmtlib_geo_centroid_area (take the 3d mean of the three vertices and normalize). An example where you clearly get the wrong...

bug

The old autoconf build allowed both static and shared libraries to be built. The present cmake configuration does not offer this option. Perhaps it should so that people stop complaining...

feature request

The function `elliptic12` returns incorrect results for phase equal to some odd multiples of `pi/2`. For example ```matlab m = 0.5; n = 17; elliptic12(n*pi/2, m) - n*ellipke(m) ==> ans...

The bug is [F,E]=elliptic123(0.5,0.9) ==> error: 'P' undefined near line 118, column 13 error: called from elliptic123 at line 118 column 3 The fix is simple.

Simple fix to the documentation (confusing the modulus k with the parameter m=k^2).

Fixes issue #23. I made no attempt to figure out the origin of this bug and so there may be a "cleaner" fix. However, this fix does the job.