//FileName: main.cpp (Source file)
#include"MyMatrix.h"
int main()
{
Welcome_Print();
char ch;
coutch;
while(ch=='y')
{
MyMatrix *m;
int row,col;
coutrow;
coutcol;
if(col==0||row==0)
{
coutsize->Col()-1;n>=y;n--)
if(x>0)
{
temp2=m->get_MyMatrix(k,y);
m->set_MyMatrix(k,n,m->get_MyMatrix(k,n)-m->get_MyMatrix(x,n)*temp2/temp1);
}
}
value=value-(m->get_MyMatrix(x,j))*tag[j]*A[j];
}
A[y]=value/m->get_MyMatrix(x,y);
tag[y]=1;
}
}
x--;
y=0;
}while(x>=0);
int count=0;
for(i=0;i0&&No_Solution!=1)
{
cout
对N元一次方程组的求解
上一篇:我们应该正视和自省的~爱国需要气节,也需要气度下一篇:阿联,你真棒~``

心情分类
推荐日记
分享排行