From 7dcd87a3e0b80acee5fbb2c911bddf08f69364a0 Mon Sep 17 00:00:00 2001 From: Peter John Acklam Date: Thu, 1 Sep 2022 18:30:19 +0200 Subject: [PATCH] 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. --- dist/Math-Complex/lib/Math/Trig.pm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dist/Math-Complex/lib/Math/Trig.pm b/dist/Math-Complex/lib/Math/Trig.pm index 50daec57e5c6..2ffedffd08b8 100644 --- a/dist/Math-Complex/lib/Math/Trig.pm +++ b/dist/Math-Complex/lib/Math/Trig.pm @@ -466,15 +466,15 @@ B. B 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, also known as the I coordinate. The angle in the I-plane (around the I-axis) is B, also known as the I coordinate. The angle from the I-axis is B, also known as the -I 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 is latitude (northward +I coordinate. The North Pole is therefore I, and +the Gulf of Guinea (think of the missing big chunk of Africa) I. In geographical terms I is latitude (northward positive, southward negative) and I is longitude (eastward positive, westward negative).