文档下载 文档下载导航
设为首页 | 加入收藏
搜索 请输入内容:  
 导航当前位置: 文档下载 > 所有分类 > 高等教育 > 理学 > C数值算法程序大全 c11-4
侵权投诉

C数值算法程序大全 c11-4

C数值算法程序大全

11.4HermitianMatrices481

for(i=m-1;i>=l;i--){Aplanerotationasintheorigi-f=s*e[i];nalQL,followedbyGivens

b=c*e[i];rotationstorestoretridiag-e[i+1]=(r=pythag(f,g));onalform.if(r==0.0){Recoverfromunder ow.

d[i+1]-=p;e[m]=0.0;break;}

s=f/r;c=g/r;

g=d[i+1]-p;

r=(d[i]-g)*s+2.0*c*b;d[i+1]=g+(p=s*r);g=c*r-b;

/*Nextloopcanbeomittedifeigenvectorsnotwanted*/for(k=1;k<=n;k++){Formeigenvectors.

f=z[k][i+1];

z[k][i+1]=s*z[k][i]+c*f;z[k][i]=c*z[k][i]-s*f;}}

if(r==0.0&&i>=l)continue;d[l]-=p;e[l]=g;e[m]=0.0;

}

}while(m!=l);}}

CITEDREFERENCESANDFURTHERREADING:

Acton,F.S.1970,NumericalMethodsThatWork;1990,correctededition(Washington:Mathe-maticalAssociationofAmerica),pp.331–335.[1]Wilkinson,J.H.,andReinsch,C.1971,LinearAlgebra,vol.IIofHandbookforAutomaticCom-putation(NewYork:Springer-Verlag).[2]

Smith,B.T.,etal.1976,MatrixEigensystemRoutines—EISPACKGuide,2nded.,vol.6of

LectureNotesinComputerScience(NewYork:Springer-Verlag).[3]Stoer,§J.,andBulirsch,R.1980,IntroductiontoNumericalAnalysis(NewYork:Springer-Verlag),

6.6.6.[4]

11.4HermitianMatrices

Thecomplexanalogofareal,symmetricmatrixisaHermitianmatrix,satisfyingequation(11.0.4).Jacobitransformationscanbeusedto ndeigenvaluesandeigenvectors,asalsocanHouseholderreductiontotridiagonalformfollowedbyQLiteration.Complexversionsofthepreviousroutinesjacobi,tred2,andtqliarequiteanalogoustotheirrealcounterparts.Forworkingroutines,consult[1,2].

Analternative,usingtheroutinesinthisbook,istoconverttheHermitianproblemtoareal,symmetricone:IfC=A+iBisaHermitianmatrix,thenthen×ncomplexeigenvalueproblem

(A+iB)·(u+iv)=λ(u+iv)

(11.4.1)

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页

你可能喜欢

  • 数值计算方法与算法
  • 数值计算方法课程设计
  • 数值计算方法ppt
  • 数值计算方法程序框图
  • 数值计算方法算法

热门文档

相关文档

  • C数值算法程序大全 c14-0

    C数值算法程序大全 c10-1 C数值算法程序大全 c10-2 C数值算法程序大全 c11-3 C数值算法程序大全 c12-5 C数值算法程序大全 c11-4 C数值算法程序大全 c...

  • C数值算法程序大全 c13-0

    C数值算法程序大全 c10-1 C数值算法程序大全 c10-2 C数值算法程序大全 c11-3 C数值算法程序大全 c12-5 C数值算法程序大全 c11-4 C数值算法程序大全 c...

  • c数值分析c16-4

    关键词:c数值计算程序大全 1/4 同系列文档 c数值分析c0-1 c数值分析c0-2 c数值分析c1-1 c数值分析c1-2 c数值分析c2-1 c数值分析c2-2 c数值分析c2-3...

  • 数值计算C语言常用小程序

    数值计算C语言常用小程序_工学_高等教育_教育专区。1、 秦九韶算法 2、二分法 3、拉格朗日插值 4、埃特金算法 5、复化梯形法6、复化辛甫生算法 7、二阶龙格...

  • c数值分析c17-4

    c数值计算 程序大全c数值计算 程序大全隐藏>> 772 Chapter 17. Two Point Boundary Value Problems for (j=jz1;j<=jz2;j++) { Loop over columns to ...

  • c数值分析c19-4

    关键词:c数值计算程序大全 1/4 同系列文档 c数值分析c0-1 c数值分析c0-2 c数值分析c1-1 c数值分析c1-2 c数值分析c2-1 c数值分析c2-2 c数值分析c2-3...

  • c数值分析c15-4

    关键词:c数值计算程序大全 1/4 同系列文档 c数值分析c0-1 c数值分析c0-2 c数值分析c1-1 c数值分析c1-2 c数值分析c2-1 c数值分析c2-2 c数值分析c2-3...

  • c数值分析c9-4

    关键词:c数值计算程序大全 1/4 同系列文档 c数值分析c0-1 c数值分析c0-2 c数值分析c1-1 c数值分析c1-2 c数值分析c2-1 c数值分析c2-2 c数值分析c2-3...

  • c数值分析c4-4

    关键词:c数值计算程序大全 1/4 同系列文档 c数值分析c0-1 c数值分析c0-2 c数值分析c1-1 c数值分析c1-2 c数值分析c2-1 c数值分析c2-2 c数值分析c2-3...

  • C语言常用算法大全

    模拟 ATM 机界面程序 #include<stdio.h> #include... /*当输入的值不是 1,2,3 中任意值时显示 do... c算法大全常用c语言算法... 37页 免费 C语言...

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