文档下载 文档下载导航
设为首页 | 加入收藏
搜索 请输入内容:  
 导航当前位置: 文档下载 > 所有分类 > IT/计算机 > c数值算法程序大全c3-5
侵权投诉

c数值算法程序大全c3-5

c数值计算 程序大全

120Chapter3.InterpolationandExtrapolation

3.5Coef cientsoftheInterpolatingPolynomial

Occasionallyyoumaywishtoknownotthevalueoftheinterpolatingpolynomialthatpassesthrougha(small!)numberofpoints,butthecoef cientsofthatpoly-nomial.Avaliduseofthecoef cientsmightbe,forexample,tocomputesimultaneousinterpolatedvaluesofthefunctionandofseveralofitsderivatives(see§5.3),ortoconvolveasegmentofthetabulatedfunctionwithsomeotherfunction,wherethemomentsofthatotherfunction(i.e.,itsconvolutionwithpowersofx)areknownanalytically.

However,pleasebecertainthatthecoef cientsarewhatyouneed.Generallythecoef cientsoftheinterpolatingpolynomialcanbedeterminedmuchlessaccuratelythanitsvalueatadesiredabscissa.Thereforeitisnotagoodideatodeterminethecoef cientsonlyforuseincalculatinginterpolatingvalues.Valuesthuscalculatedwillnotpassexactlythroughthetabulatedpoints,forexample,whilevaluescomputedbytheroutinesin§3.1–§3.3willpassexactlythroughsuchpoints.

Also,youshouldnotmistaketheinterpolatingpolynomial(anditscoef cients)foritscousin,thebest tpolynomialthroughadataset.Fittingisasmoothingprocess,sincethenumberof ttedcoef cientsistypicallymuchlessthanthenumberofdatapoints.Therefore, ttedcoef cientscanbeaccuratelyandstablydeterminedeveninthepresenceofstatisticalerrorsinthetabulatedvalues.(See§points14.8.)areInterpolation,equal,takesthewheretabulatedthenumbervaluesasofperfect.coef cientsIftheyandinfactnumbercontainofstatisticaltabulatederrors,thesecanbemagni edintooscillationsoftheinterpolatingpolynomialinbetweenthetabulatedpoints.

Asbefore,wetakethetabulatedpointstobeyi≡y(xi).Iftheinterpolatingpolynomialiswrittenas

y=c0+c1x+c2x2+···+cNxN

(3.5.1)

thentheci’sarerequiredtosatisfythelinearequation

1x0x2

0···xN0

c0 y

1x1x2 . . ..···xN1 .

c1

...1

..

. . · ... = y1 ..

.

(3.5.2)1

xN

x2N

···xN

NcN

yNThisisaVandermondematrix,asdescribedin§2.8.Onecouldinprinciplesolve

equation(3.5.2)bystandardtechniquesforlinearequationsgenerally(§2.3);howeverthespecialmethodthatwasderivedin§2.8ismoreef cientbyalargefactor,oforderN,soitismuchbetter.

RememberthatVandermondesystemscanbequiteill-conditioned.Insuchacase,nonumericalmethodisgoingtogiveaveryaccurateanswer.Suchcasesdonot,pleasenote,implyanydif cultyin ndinginterpolatedvaluesbythemethodsof§3.1,butonlydif cultyin ndingcoef cients.

Liketheroutinein§2.8,thefollowingisduetoG.B.Rybicki.Notethatthearraysareallassumedtobezero-offset.

visit website doc.guandang.net or call 1-800-872-7423 (North America only), readable files (including this one) to any server cor send email to trade@cup.cam.ac.uk (outside North America).

omputer, is strictly prohibited. To order Numerical Recipes books, diskettes, or CDROMsPermission is granted for internet users to make one paper copy for their own personal use. Further reproduction, or any copying of machine-Copyright (C) 1988-1992 by Cambridge University Press. Programs Copyright (C) 1988-1992 by Numerical Recipes Software. Sample page from NUMERICAL RECIPES IN C: THE ART OF SCIENTIFIC COMPUTING (ISBN 0-521-43108-5)

第1页

你可能喜欢

热门文档

相关文档

  • c数值算法程序大全c3-3

    c数值算法程序大全c2-9 c数值算法程序大全c2-10 c数值算法程序大全c3-1 c数值算法程序大全c3-2 c数值算法程序大全c3-4 c数值算法程序大全c3-5 c数值算法...

  • c数值算法程序大全c3-6

    c数值算法程序大全c2-10 c数值算法程序大全c3-1 c数值算法程序大全c3-2 c数值算法程序大全c3-3 c数值算法程序大全c3-4 c数值算法程序大全c3-5 c数值算法...

  • c数值算法程序大全c3-2

    c数值算法程序大全c2-9 c数值算法程序大全c2-10 c数值算法程序大全c3-1 c数值算法程序大全c3-3 c数值算法程序大全c3-4 c数值算法程序大全c3-5 c数值算法...

  • c数值算法程序大全c5-5

    c数值算法程序大全c2-10 c数值算法程序大全c3-1 c数值算法程序大全c3-2 c数值算法程序大全c3-3 c数值算法程序大全c3-4 c数值算法程序大全c3-5 c数值算法...

  • c数值算法程序大全c15-5

    c数值算法程序大全c2-10 c数值算法程序大全c3-1 c数值算法程序大全c3-2 c数值算法程序大全c3-3 c数值算法程序大全c3-4 c数值算法程序大全c3-5 c数值算法...

  • c数值算法程序大全c3-1

    c数值算法程序大全c2-9 c数值算法程序大全c2-10 c数值算法程序大全c3-2 c数值算法程序大全c3-3 c数值算法程序大全c3-4 c数值算法程序大全c3-5 c数值算法...

  • c数值算法程序大全c18-3

    c数值算法程序大全c2-10 c数值算法程序大全c3-1 c数值算法程序大全c3-2 c数值算法程序大全c3-3 c数值算法程序大全c3-4 c数值算法程序大全c3-5 c数值算法...

  • c数值算法程序大全c17-3

    c数值算法程序大全c2-10 c数值算法程序大全c3-1 c数值算法程序大全c3-2 c数值算法程序大全c3-3 c数值算法程序大全c3-4 c数值算法程序大全c3-5 c数值算法...

  • c数值算法程序大全c20-3

    c数值算法程序大全c2-10 c数值算法程序大全c3-1 c数值算法程序大全c3-2 c数值算法程序大全c3-3 c数值算法程序大全c3-4 c数值算法程序大全c3-5 c数值算法...

  • c数值算法程序大全c18-5

    c数值算法程序大全c2-10 c数值算法程序大全c3-1 c数值算法程序大全c3-2 c数值算法程序大全c3-3 c数值算法程序大全c3-4 c数值算法程序大全c3-5 c数值算法...

站点地图 | 文档上传 | 侵权投诉 | 手机版
本站所有资源均来自互联网,本站只负责收集和整理,均不承担任何法律责任,如有侵权等其它行为请联系我们.
文档下载 Copyright 2013 doc.guandang.net All Rights Reserved.  -  email