Hi
is this a good practice ?
double **AT = mul_mR(A,T,i_mR(R2,C3));
example:
/*  */
#include "v_a.h"
/*  */
int main(void)
{
double t[R2*C3]=
{ 1,0, 1,
0,1, 2};
double **T = c_a_A_mR(t,i_mR(R2,C3));
double **A = r_mR( i_mR(R2,C2),999.);
double **AT = mul_mR(A,T,i_mR(R2,C3));
double **Ab = c_mR(AT, i_AbR0_mR(R2,C2,C1));
printf(" Find a matrice, that has this reduced rowechelon form :
\n");
p_mR(T,5,0,6);
getchar();
printf(" I suggest this matrix : \n");
p_mR(AT,5,0,6);
getchar();
printf("\n With the Gauss Jordan function :\n");
p_mR(gj_mR(Ab),10,5,7);
getchar();
f_mR(Ab);
f_mR(A);
f_mR(T);
f_mR(AT);
return 0;
}
test:
Find a matrice, that has this reduced rowechelon form :
+1 +0 +1
+0 +1 +2
I suggest this matrix :
+42 +486 +1014
341 527 1395
With the Gauss Jordan function :
+1.00000 0.00000 +1.00000
+0.00000 +1.00000 +2.00000
Thank
