Mercurial > octave-nkf
view .hgsub @ 17585:36b9fa789d8e
Overhaul polar, spherical, cartesian conversion routiens when nargout == 1.
* scripts/general/cart2pol.m: Use @var{P} (capital) in docstring.
Initialize z to []. Return 3-column matrix when nargout == 1.
Modify %!test to check this behavior.
* scripts/general/cart2sph.m: Use @var{C} (capital) in docstring.
Return 3-column matrix when nargout == 1. Modify %!test to check this
behavior.
scripts/general/pol2cart.m: Use @var{P} (capital) in docstring.
Use 'C' in %!test to refer to single Cartesian matrix of coordinates.
scripts/general/sph2cart.m: Use @var{C} (capital) in docstring.
Return 3-column matrix when nargout == 1. Modify %!test to check this
behavior.
author | Rik <rik@octave.org> |
---|---|
date | Sun, 06 Oct 2013 21:01:10 -0700 |
parents | 44f30dcd87e0 |
children |