雅格比(Jacobi)方法求实对称矩阵的全部特征值及特征向量(The total eigenvalues and eigenvectors of the Jacobi method for the realistic symmetric matrix are obtained).docVIP
- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
雅格比(Jacobi)方法求实对称矩阵的全部特征值及特征向量(The total eigenvalues and eigenvectors of the Jacobi method for the realistic symmetric matrix are obtained)
雅格比(Jacobi)方法求实对称矩阵的全部特征值及特征向量(The total eigenvalues and eigenvectors of the Jacobi method for the realistic symmetric matrix are obtained)
# include“math.h”
# include stdio . h
#如果!(AFX_STDAFX_H__5E3974CA_2A74_478E_B9B6_17E960FBFB49__INCLUDED_定义)
#定义AFX_STDAFX_H__5E3974CA_2A74_478E_B9B6_17E960FBFB49__INCLUDED_
#如果_MSC_VER 1000
# pragma一旦
# endif / / _MSC_VER 1000
#定义win32_lean_and_mean / /排除在Windows头文件中使用的罕见的东西
# endif
int(int argc,char * argv[])
{
int Inv(双* * a,int n,double * * b,double * * c);
int(双* * a,int n,double * d,double * * v,intnrot);
/ / int Eigs(双* * a,int n,double * * v,double eps,int jt);
int i = 0;
int j = 0;
int k = 0;
双* * =新双*[3],* * b =新双*[3],* * c =新双*[3];
双* * s = new double *[3],* *向量= new double *[3];
双* * a1 = new双*[3];
(我= 0; 3,我+ +)
{
[我]=新双[3];
b[我]=新双[3];
新双c[我]=[3];
a1[我]=新双[3];
[我]=新双[3];
向量[我]=新双[3];
(j = 0; 3;j + +)
{
[我][j]= 0.0;
b[我][j]= 0.0;
c[我][j]= 0.0;
a1[我][j]= 0.0;
[我][j]= 0.0;
向量[我][j]= 0.0;
}
}
一个[0][0]= 2;
[1][1]= 1;
[2][2]= 2;
b[0][0]= 1;
b[1][1]= 1;
b[2][2]= 1;
c[0][0]= 48.7657178371285;
c[0][1]= -12.2944347400907;
c[0][2]= 21.2546473604785;
c[1][0]= -12.2944347400907;
c[1][1]= 57.4457633841621;
c[1][2]= -29.8070393392756;
c[2][0]= 21.2546473604785;
c[2][1]= -29.8070393392756;
c[2][2]= 28.9718718956533;
(我= 0; 3,我+ +)
(j = 0; 3;j + +)
(k = 0;k 3;k + +)
[我][j]+ = c[我][k]*[k][j];
int值= 0;
双* d = new双[3];
int nrot;
值=发票(3 b,a1);
Eigs(c,3,d,向量,nrot);
/ / eigs(c,3,向量,0.1,30);
如果(value = = 1)
{
(我= 0; 3,我+ +)
(j = 0; 3;j + +)
printf([% d][% d]= % f \ tc[% d][% d]= % f \ t[% d][% d]= % f \ na1[% d][% d]= % f \ tvector[% d][% d]= % f \ n”,
i,j,[我][j],i,j c[我][j],i,j s[我][j],i,j,a1[我][j],i,j,向量[我][j]);
}
printf(特征向量为:% f,f %,% f \ n”,d[0],[1],[2]);
返回1;
}
/ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
The inverse of the matrix
* the return value is less than 0 indicating that the matrix is not invertible
* ret
您可能关注的文档
- 穷人钱规则财富膨胀年代的平民必修课(Poor money rule a compulsory course for the people in the age of wealth expansion).doc
- 竹笛练习(Bamboo flute practice).doc
- 第18届希望杯全国数学邀请赛初一第1试试题(The 18th hope cup national math invitational first 1).doc
- 第21课 三大发明的进步与传播详案(The progress and dissemination of the three inventions in lesson 21).doc
- 第2章 自然环境中的物质运动和能量交换(Chapter 2 physical movement and energy exchange in the natural environment).doc
- 第3方接口说明(Section 3 interface description).doc
- 第2节 地球的运动(Article ii. Earth movement).doc
- 第3章 自然地理环境的整体性与差异性(Chapter 3 the integration and difference of natural geographical environment).doc
- 第3章 二元合金(Chapter 3 binary alloys).doc
- 第5章 消费者购买和行为分析(Chapter 5 consumer purchasing and behavior analysis).doc
- 难度梯度——革新版(Difficulty gradient - innovation).doc
- 集成电路用途大全(Integrated circuit for use).doc
- 集成运算放大器(Integrated operational amplifier).doc
- 隧道火灾扑救处置预案(Plan for the disposal of tunnel fire).doc
- 零基础学数据结构(源码) 陈锐 机械工业(Basic data structure (source code) Chen rui mechanical industry).doc
- 集成项目管理师学习笔记5(Integrate project manager to learn notes 5).doc
- 集成模拟乘法器与调幅波信号解调电路设计与测试(Design and test of integrated analog multiplier and modulated wave signal demodulation circuit).doc
- 集成电路 CAD(IC CAD).doc
- 雷霆430XP说明书(Thunder 430XP manual).doc
- 需要了解汽车安全气囊的知识(Knowledge of automotive airbags is needed).doc
最近下载
- 20171017_宁波新世界明楼项目汇报文件.pptx VIP
- (人教PEP版2024)英语五年级上册 Unit2 大单元教学设计.docx VIP
- 劳务合同模板2025.docx VIP
- 高性能探针卡生产线项目规划设计方案.docx
- 2024年秋新沪科版物理八年级上册 第五章大单元整体设计 教学课件.pptx VIP
- 数字赋能乡村治理的实践探索与优化路径——以晋南S村为例.pdf
- 《道路运输管理实务》第2版综合测试题.docx VIP
- 《人工智能导论》课件.ppt VIP
- 第一章 大学生心理健康教育.pdf VIP
- 《铁路线路养护与维修》课件全套 模块1、2 基础知识;普速铁路线路工务作业.pptx
文档评论(0)