Mercurial > hg > octave-lyh
changeset 5831:b0d4ff99a0c5
[project @ 2006-05-26 21:06:00 by jwe]
author | jwe |
---|---|
date | Fri, 26 May 2006 21:06:00 +0000 |
parents | 0bb816a28335 |
children | 5e41e06f6a78 |
files | scripts/general/cplxpair.m scripts/polynomial/ppval.m |
diffstat | 2 files changed, 4 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/general/cplxpair.m +++ b/scripts/general/cplxpair.m @@ -23,8 +23,8 @@ ## increasing real part. With identical real parts, order by increasing ## imaginary magnitude. Place the negative imaginary complex number ## first within each pair. Place all the real numbers after all the -## complex pairs (those with @code {abs ( imag (@var{z}) / @var{z}) < -## @var{tol}}), where the default value of @var{tol} is @code{100 * +## complex pairs (those with @code{abs (imag (@var{z}) / @var{z}) < +## @var{tol})}, where the default value of @var{tol} is @code{100 * ## @var{eps}}. ## ## By default the complex pairs are sorted along the first non-singleton @@ -37,7 +37,7 @@ ## pairs with identical real parts but differing imaginary parts. ## ## @example -## cplxpair (exp(2i*pi*[0:4]'/5)) == exp(2i*pi*[3; 2; 4; 1; 0]/5) +## cplxpair (exp(2i*pi*[0:4]'/5)) == exp(2i*pi*[3; 2; 4; 1; 0]/5) ## @end example ## @end deftypefn
--- a/scripts/polynomial/ppval.m +++ b/scripts/polynomial/ppval.m @@ -18,13 +18,11 @@ ## 02110-1301, USA. ## -*- texinfo -*- -## @deftypefn {Function File} {@var{yi} =} ppval (@var{pp, @var{xi}) -## +## @deftypefn {Function File} {@var{yi} =} ppval (@var{pp}, @var{xi}) ## Evaluate piece-wise polynomial @var{pp} at the points @var{xi}. ## If @code{@var{pp}.d} is a scalar greater than 1, or an array, ## then the returned value @var{yi} will be an array that is ## @code{d1, d1, @dots{}, dk, length (@var{xi})]}. -## ## @seealso{mkpp, unmkpp, spline} ## @end deftypefn