⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 zha.txt

📁 用QR法求矩阵全部特征值,qr算法是幕法的推广和变形
💻 TXT
字号:
#include <stdio.h>
#include <malloc.h>
void jsqr(float a[],float b[],float c[],int n);
void mulqr(float a[],float b[],float c[],int n);
void pd(float a[],float b[],int n);
void findr(float x0[],int n,float r0[]) 
{    
   float *r,*q,*a;
   r=(float*)calloc(n*n,4);
   q=(float*)calloc(n*n,4);
   a=(float*)calloc(n*n,4);
   jsqr(x0,q,r,n);
   mulqr(q,r,a,n);
   pd(a,r0,n);
   return ;
   free(r);
   free(q);
   free(a);

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -