Mercurial > hg > octave-lyh
changeset 9168:742cf6388a8f
Update section 17.7 (Coordinate Transformations) of arith.txi
author | Rik <rdrider0-list@yahoo.com> |
---|---|
date | Sat, 02 May 2009 07:20:35 -0700 |
parents | 1231b1762a9a |
children | b1e82cc8a9f3 |
files | doc/ChangeLog scripts/general/cart2pol.m scripts/general/cart2sph.m scripts/general/pol2cart.m scripts/general/sph2cart.m |
diffstat | 5 files changed, 17 insertions(+), 13 deletions(-) [+] |
line wrap: on
line diff
--- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -1,3 +1,7 @@ +2009-05-01 Rik <rdrider0-list@yahoo.com> + * interpreter/arith.txi: Update section 17.7 (Coordinate Transformations) + of arith.txi + 2009-05-01 Rik <rdrider0-list@yahoo.com> * interpreter/arith.txi: Simplify TeXinfo and eliminate use of @iftex in arith.txi
--- a/scripts/general/cart2pol.m +++ b/scripts/general/cart2pol.m @@ -17,11 +17,11 @@ ## <http://www.gnu.org/licenses/>. ## -*- 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
--- a/scripts/general/cart2sph.m +++ b/scripts/general/cart2sph.m @@ -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}
--- a/scripts/general/pol2cart.m +++ b/scripts/general/pol2cart.m @@ -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
--- a/scripts/general/sph2cart.m +++ b/scripts/general/sph2cart.m @@ -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}