# HG changeset patch # User Rik # Date 1241274035 25200 # Node ID 742cf6388a8f1d2c84b580535be09cfce92ac5db # Parent 1231b1762a9a77a7a480e12954fbe7c5a699943c Update section 17.7 (Coordinate Transformations) of arith.txi diff -r 1231b1762a9a -r 742cf6388a8f doc/ChangeLog --- a/doc/ChangeLog Fri May 01 11:37:36 2009 -0700 +++ b/doc/ChangeLog Sat May 02 07:20:35 2009 -0700 @@ -1,3 +1,7 @@ +2009-05-01 Rik + * interpreter/arith.txi: Update section 17.7 (Coordinate Transformations) + of arith.txi + 2009-05-01 Rik * interpreter/arith.txi: Simplify TeXinfo and eliminate use of @iftex in arith.txi diff -r 1231b1762a9a -r 742cf6388a8f scripts/general/cart2pol.m --- a/scripts/general/cart2pol.m Fri May 01 11:37:36 2009 -0700 +++ b/scripts/general/cart2pol.m Sat May 02 07:20:35 2009 -0700 @@ -17,11 +17,11 @@ ## . ## -*- texinfo -*- -## @deftypefn {Function File} {[@var{theta}, @var{r}] =} cart2pol (@var{x}, @var{y}) +## @deftypefn {Function File} {[@var{theta}, @var{r}] =} cart2pol (@var{x}, @var{y}) ## @deftypefnx {Function File} {[@var{theta}, @var{r}, @var{z}] =} cart2pol (@var{x}, @var{y}, @var{z}) -## Transform cartesian to polar or cylindrical coordinates. -## @var{x}, @var{y} (and @var{z}) must be of same shape, or scalar. -## @var{theta} describes the angle relative to the x-axis. +## Transform Cartesian to polar or cylindrical coordinates. +## @var{x}, @var{y} (and @var{z}) must be the same shape, or scalar. +## @var{theta} describes the angle relative to the positive x-axis. ## @var{r} is the distance to the z-axis (0, 0, z). ## @seealso{pol2cart, cart2sph, sph2cart} ## @end deftypefn diff -r 1231b1762a9a -r 742cf6388a8f scripts/general/cart2sph.m --- a/scripts/general/cart2sph.m Fri May 01 11:37:36 2009 -0700 +++ b/scripts/general/cart2sph.m Sat May 02 07:20:35 2009 -0700 @@ -18,9 +18,9 @@ ## -*- texinfo -*- ## @deftypefn {Function File} {[@var{theta}, @var{phi}, @var{r}] =} cart2sph (@var{x}, @var{y}, @var{z}) -## Transform cartesian to spherical coordinates. -## @var{x}, @var{y} and @var{z} must be of same shape, or scalar. -## @var{theta} describes the angle relative to the x-axis. +## Transform Cartesian to spherical coordinates. +## @var{x}, @var{y} and @var{z} must be the same shape, or scalar. +## @var{theta} describes the angle relative to the positive x-axis. ## @var{phi} is the angle relative to the xy-plane. ## @var{r} is the distance to the origin (0, 0, 0). ## @seealso{pol2cart, cart2pol, sph2cart} diff -r 1231b1762a9a -r 742cf6388a8f scripts/general/pol2cart.m --- a/scripts/general/pol2cart.m Fri May 01 11:37:36 2009 -0700 +++ b/scripts/general/pol2cart.m Sat May 02 07:20:35 2009 -0700 @@ -19,9 +19,9 @@ ## -*- texinfo -*- ## @deftypefn {Function File} {[@var{x}, @var{y}] =} pol2cart (@var{theta}, @var{r}) ## @deftypefnx {Function File} {[@var{x}, @var{y}, @var{z}] =} pol2cart (@var{theta}, @var{r}, @var{z}) -## Transform polar or cylindrical to cartesian coordinates. -## @var{theta}, @var{r} (and @var{z}) must be of same shape, or scalar. -## @var{theta} describes the angle relative to the x-axis. +## Transform polar or cylindrical to Cartesian coordinates. +## @var{theta}, @var{r} (and @var{z}) must be the same shape, or scalar. +## @var{theta} describes the angle relative to the positive x-axis. ## @var{r} is the distance to the z-axis (0, 0, z). ## @seealso{cart2pol, cart2sph, sph2cart} ## @end deftypefn diff -r 1231b1762a9a -r 742cf6388a8f scripts/general/sph2cart.m --- a/scripts/general/sph2cart.m Fri May 01 11:37:36 2009 -0700 +++ b/scripts/general/sph2cart.m Sat May 02 07:20:35 2009 -0700 @@ -18,9 +18,9 @@ ## -*- texinfo -*- ## @deftypefn {Function File} {[@var{x}, @var{y}, @var{z}] =} sph2cart (@var{theta}, @var{phi}, @var{r}) -## Transform spherical to cartesian coordinates. -## @var{x}, @var{y} and @var{z} must be of same shape, or scalar. -## @var{theta} describes the angle relative to the x-axis. +## Transform spherical to Cartesian coordinates. +## @var{x}, @var{y} and @var{z} must be the same shape, or scalar. +## @var{theta} describes the angle relative to the positive x-axis. ## @var{phi} is the angle relative to the xy-plane. ## @var{r} is the distance to the origin (0, 0, 0). ## @seealso{pol2cart, cart2pol, cart2sph}