diff options
author | Peter John Acklam <pjacklam@gmail.com> | 2022-09-01 18:30:19 +0200 |
---|---|---|
committer | James E Keenan <jkeenan@cpan.org> | 2022-12-29 21:00:28 +0000 |
commit | 7b4ead7ffcdfef4a938d1f65cb3ec1c15792d0d4 (patch) | |
tree | d3c50d348d35d912e6ce2a4ddead625affe3ce79 /dist | |
parent | 953398c3fd421376c66841d7658f8b97328e2726 (diff) | |
download | perl-7b4ead7ffcdfef4a938d1f65cb3ec1c15792d0d4.tar.gz |
Math-Complex: correct typos in documentation
- Correct typo where "pi" should be "phi".
- Spherical coordinates should use the same order of the coordinates
everywhere, i.e., rho, theta, phi.
Committer: lib/Math/Trig.pm: Increment $VERSION
For: https://github.com/Perl/perl5/pull/20210
Diffstat (limited to 'dist')
-rw-r--r-- | dist/Math-Complex/lib/Math/Trig.pm | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/dist/Math-Complex/lib/Math/Trig.pm b/dist/Math-Complex/lib/Math/Trig.pm index 50daec57e5..7097bdca4e 100644 --- a/dist/Math-Complex/lib/Math/Trig.pm +++ b/dist/Math-Complex/lib/Math/Trig.pm @@ -15,7 +15,7 @@ require Exporter; our @ISA = qw(Exporter); -our $VERSION = 1.23_01; +our $VERSION = 1.24; my @angcnv = qw(rad2deg rad2grad deg2rad deg2grad @@ -466,15 +466,15 @@ B<All angles are in radians>. B<Cartesian> coordinates are the usual rectangular I<(x, y, z)>-coordinates. -Spherical coordinates, I<(rho, theta, pi)>, are three-dimensional +Spherical coordinates, I<(rho, theta, phi)>, are three-dimensional coordinates which define a point in three-dimensional space. They are based on a sphere surface. The radius of the sphere is B<rho>, also known as the I<radial> coordinate. The angle in the I<xy>-plane (around the I<z>-axis) is B<theta>, also known as the I<azimuthal> coordinate. The angle from the I<z>-axis is B<phi>, also known as the -I<polar> coordinate. The North Pole is therefore I<0, 0, rho>, and -the Gulf of Guinea (think of the missing big chunk of Africa) I<0, -pi/2, rho>. In geographical terms I<phi> is latitude (northward +I<polar> coordinate. The North Pole is therefore I<rho, 0, 0>, and +the Gulf of Guinea (think of the missing big chunk of Africa) I<rho, +0, pi/2>. In geographical terms I<phi> is latitude (northward positive, southward negative) and I<theta> is longitude (eastward positive, westward negative). |