Displaying 1 result from an estimated 1 matches for "subtitutio".
Did you mean:
subtitution
2012 Sep 24
1
passing a matrix from R to C code
...j<=*n;j++)
{
sum=0;
for(p=1;p<=k-1;p++)
sum+=l[k][p]*u[p][j];
u[k][j]=(a[k][j]-sum)/l[k][k];
}
}
//***** FI*NDI*NG Z; LZ=b*********//
for(i=1;i<=*n;i++)
{ //forward subtitutio*n method
sum=0;
for(p=1<i;p++)
sum+=l[i][p]*z[p];
z[i]=(b[i]-sum)/l[i][i];
}
//********** FI*NDI*NG X; UX=Z***********//
for(i=*n;i>0;i--)
{
sum=0;
for(p=*n;p>i;p--)
sum+=u[i][p]*ab[p];
ab[i]=(z[i]-sum)/u[i][i];...