Mercurial > octave
comparison scripts/specfun/gammaincinv.m @ 27984:b09432b20a84
maint: Remove special cases of old version control keywords in code base.
* common_size.m, cumtrapz.m, interp1.m, polyarea.m, trapz.m, inpolygon.m,
summer.m, javamem.m, duplication_matrix.m, subspace.m, starting_stepsize.m,
text.m, errorbar.m, loglogerr.m, peaks.m, __errplot__.m, semilogxerr.m,
semilogyerr.m, stemleaf.m, streamtube.m, __pltopt__.m, printd.m, pchip.m,
arch_fit.m, arch_rnd.m, arch_test.m, arma_rnd.m, autoreg_matrix.m, bartlett.m,
blackman.m, diffpara.m, durbinlevinson.m, fractdiff.m, hamming.m, hanning.m,
hurst.m, ifftshift.m, periodogram.m, rectangle_lw.m, rectangle_sw.m,
triangle_lw.m, triangle_sw.m, sinetone.m, sinewave.m, spectral_adf.m,
spectral_xdf.m, spencer.m, stft.m, synthesis.m, yulewalker.m, bicg.m,
bicgstab.m, cgs.m, gmres.m, pcr.m, sprand.m, tfqmr.m, betaincinv.m, betaln.m,
gammaincinv.m, hadamard.m, center.m, cov.m, discrete_inv.m, discrete_pdf.m,
discrete_rnd.m, empirical_cdf.m, empirical_inv.m, empirical_pdf.m,
empirical_rnd.m, iqr.m, kendall.m, mean.m, meansq.m, moment.m, prctile.m,
quantile.m, range.m, run_count.m, spearman.m, statistics.m, var.m, zscore.m,
datenum.m, datevec.m:
Remove special cases of old version control keywords in code base.
author | Rik <rik@octave.org> |
---|---|
date | Tue, 21 Jan 2020 14:04:31 -0800 |
parents | a4268efb7334 |
children | 28de41192f3c 0a5b15007766 |
comparison
equal
deleted
inserted
replaced
27982:d3dc3f7f7999 | 27984:b09432b20a84 |
---|---|
252 ## Restore original shape | 252 ## Restore original shape |
253 x = reshape (x, orig_sz); | 253 x = reshape (x, orig_sz); |
254 | 254 |
255 endfunction | 255 endfunction |
256 | 256 |
257 ## Subfunction: Newton's Method | 257 ## subfunction: Newton's Method |
258 function x = newton_method (F, JF, y, a, x0, tol, maxit); | 258 function x = newton_method (F, JF, y, a, x0, tol, maxit); |
259 l = numel (y); | 259 l = numel (y); |
260 res = -F (y, a, x0) ./ JF (a, x0); | 260 res = -F (y, a, x0) ./ JF (a, x0); |
261 todo = (abs (res) >= tol * abs (x0)); | 261 todo = (abs (res) >= tol * abs (x0)); |
262 x = x0; | 262 x = x0; |