Mathc matrices/c24l
Application
Installer et compiler ces fichiers dans votre répertoire de travail.
/* ------------------------------------ */
/* Save as : c02a.c */
/* ------------------------------------ */
/* ------------------------------------ */
int main(void)
double x_B[RX*CX]={
 +1, 
 +2
double b[RA*CA]={
 +2, +4, 
 +3, +5
double **B = ca_A_mR(b, i_mR(RA,CA));
double **X_B = ca_A_mR(x_B, i_mR(RX,CX));
double **X = mul_mR(B,X_B, i_mR(RX,CX));
 clrscrn();
 printf(" B is the change of basis matrix for the basis \"B\" \n\n"
 " B :");
 p_mR(B,S8,P2,C7); 
 printf(" x_B :");
 p_mR(X_B,S8,P2,C7);
 printf(" Compute x_B in the standard basis :\n\n"
 " x = B*x_B :");
 p_mR(X,S8,P2,C7);
 stop();
 f_mR(B); 
 f_mR(X_B);
 f_mR(X); 
 return 0;
/* ------------------------------------ */
 Nous allons introduire ces valeurs dans les fichiers suivants.

Exemple de sortie écran :
 B is the change of basis matrix for the basis "B" 
 B :
 +2.00 +4.00 
 +3.00 +5.00 
 x_B :
 +1.00 
 +2.00 
 Compute x_B in the standard basis :
 x = B*x_B :
 +10.00 
 +13.00 
 Press return to continue.

Mathc matrices/c24p
Application
Installer et compiler ces fichiers dans votre répertoire de travail.
/* ------------------------------------ */
/* Save as : c03a.c */
/* ------------------------------------ */
/* ------------------------------------ */
int main(void)
double x_B[RX*CX]={
 +1,
 +2, 
 +3 
double b[RA*CA]={
 +1, +2, +6, 
 +3, +4, +1,
 +5, +5, +2 
double **B = ca_A_mR(b, i_mR(RA,CA));
double **X_B = ca_A_mR(x_B, i_mR(RX,CX));
double **X = mul_mR(B,X_B, i_mR(RX,CX));
 clrscrn();
 printf(" B is the change of basis matrix for the basis \"B\" \n\n"
 " B :");
 p_mR(B,S8,P2,C7); 
 printf(" x_B :");
 p_mR(X_B,S8,P2,C7);
 printf(" Compute x_B in the standard basis :\n\n"
 " x = B*x_B :");
 p_mR(X,S8,P2,C7);
 stop();
 f_mR(B); 
 f_mR(X_B);
 f_mR(X); 
 return 0;
/* ------------------------------------ */
 Nous allons introduire ces valeurs dans les fichiers suivants.

Exemple de sortie écran :
 B is the change of basis matrix for the basis "B" 
 B :
 +1.00 +2.00 +6.00 
 +3.00 +4.00 +1.00 
 +5.00 +5.00 +2.00 
 x_B :
 +1.00 
 +2.00 
 +3.00 
 Compute x_B in the standard basis :
 x = B*x_B :
 +23.00 
 +14.00 
 +21.00 
 Press return to continue.

Mathc matrices/c24t
Application
Installer et compiler ces fichiers dans votre répertoire de travail.
/* ------------------------------------ */
/* Save as : c04a.c */
/* ------------------------------------ */
/* ------------------------------------ */
int main(void)
double x_B[RX*CX]={
 +1,
 +2, 
 +3, 
 +4 
double b[RA*CA]={
 +1, +2, +6, +6, 
 +3, +2, +1, +6,
 +5, +5, +3, +6,
 +5, +5, +2, +4, 
double **B = ca_A_mR(b, i_mR(RA,CA));
double **X_B = ca_A_mR(x_B, i_mR(RX,CX));
double **X = mul_mR(B,X_B, i_mR(RX,CX));
 clrscrn();
 printf(" B is the change of basis matrix for the basis \"B\" \n\n"
 " B :");
 p_mR(B,S8,P2,C7); 
 printf(" x_B :");
 p_mR(X_B,S8,P2,C7);
 printf(" Compute x_B in the standard basis :\n\n"
 " x = B*x_B :");
 p_mR(X,S8,P2,C7);
 stop();
 f_mR(B); 
 f_mR(X_B);
 f_mR(X); 
 return 0;
/* ------------------------------------ */
 Nous allons introduire ces valeurs dans les fichiers suivants.

Exemple de sortie écran :
 B is the change of basis matrix for the basis "B" 
 B :
 +1.00 +2.00 +6.00 +6.00 
 +3.00 +2.00 +1.00 +6.00 
 +5.00 +5.00 +3.00 +6.00 
 +5.00 +5.00 +2.00 +4.00 
 x_B :
 +1.00 
 +2.00 
 +3.00 
 +4.00 
 Compute x_B in the standard basis :
 x = B*x_B :
 +47.00 
 +34.00 
 +48.00 
 +37.00 
 Press return to continue.

Mathc matrices/c24m
Application
Installer et compiler ces fichiers dans votre répertoire de travail.
/* ------------------------------------ */
/* Save as : c02b.c */
/* ------------------------------------ */
/* ------------------------------------ */
int main(void)
double a[RA*CA]={
 +3, -2, 
 +2, -2
double x[RX*CX]={
 +10.00, 
 +13.00, 
double **A = ca_A_mR(a, i_mR(RA,CA));
double **X = ca_A_mR(x, i_mR(RX,CX));
double **AX = i_mR(RA,CX) ;
 clrscrn();
 printf(" In the Standard basis\n\n"
 " Find T(x) = A*x \n\n"
 " A : ");
 p_mR(A,S3,P2,C7);
 printf(" x : ");
 p_mR(X,S3,P2,C7);
 printf(" A*x");
 p_mR(mul_mR(A,X,AX),S3,P2,C7);
 stop();
 f_mR(A);
 f_mR(X);
 f_mR(AX);
 return 0;
/* ------------------------------------ */
 Calculons T([x]) = A*[x]

Exemple de sortie écran :
 In the Standard basis
 Find T(x) = A*x 
 A : 
+3.00 -2.00 
+2.00 -2.00 
 x : 
+10.00 
+13.00 
 A*x
+4.00 
-6.00 
 Press return to continue.

Mathc matrices/c24q
Application
Installer et compiler ces fichiers dans votre répertoire de travail.
/* ------------------------------------ */
/* Save as : c03b.c */
/* ------------------------------------ */
/* ------------------------------------ */
int main(void)
double a[RA*CA]={
 +3, -4, -2, 
 +5, -3, -1,
 +4, -3, -1 
double x[RX*CX]={
 +23.00, 
 +14.00, 
 +21.00 
double **A = ca_A_mR(a, i_mR(RA,CA));
double **X = ca_A_mR(x, i_mR(RX,CX));
double **AX = i_mR(RA,CX) ;
 clrscrn();
 printf(" In the Standard basis\n\n"
 " Find T(x) = A*x \n\n"
 " A : ");
 p_mR(A,S8,P2,C7);
 printf(" x : ");
 p_mR(X,S8,P2,C7);
 printf(" A*x");
 p_mR(mul_mR(A,X,AX),S8,P2,C7);
 stop();
 f_mR(A);
 f_mR(X);
 f_mR(AX);
 return 0;
/* ------------------------------------ */
 Calculons T([x]) = A*[x]

Exemple de sortie écran :
 In the Standard basis
 Find T(x) = A*x 
 A : 
 +3.00 -4.00 -2.00 
 +5.00 -3.00 -1.00 
 +4.00 -3.00 -1.00 
 x : 
 +23.00 
 +14.00 
 +21.00 
 A*x
 -29.00 
 +52.00 
 +29.00 
 Press return to continue.

Mathc matrices/c24u
Application
Installer et compiler ces fichiers dans votre répertoire de travail.
/* ------------------------------------ */
/* Save as : c04b.c */
/* ------------------------------------ */
/* ------------------------------------ */
int main(void)
double a[RA*CA]={
 +3, -4, -2, -1,
 +5, -3, -0, -2, 
 +6, -0, -3, -2,
 +3, -3, -1, -3 
double x[RX*CX]={
 +47.00, 
 +34.00, 
 +48.00, 
 +37.00 
double **A = ca_A_mR(a, i_mR(RA,CA));
double **X = ca_A_mR(x, i_mR(RX,CX));
double **AX = i_mR(RA,CX) ;
 clrscrn();
 printf(" In the Standard basis\n\n"
 " Find T(x) = A*x \n\n"
 " A : ");
 p_mR(A,S6,P2,C7);
 printf(" x : ");
 p_mR(X,S6,P2,C7);
 printf(" A*x");
 p_mR(mul_mR(A,X,AX),S7,P2,C7);
 stop();
 f_mR(A);
 f_mR(X);
 f_mR(AX);
 return 0;
/* ------------------------------------ */
 Calculons T([x]) = A*[x]

Exemple de sortie écran :
 In the Standard basis
 Find T(x) = A*x 
 A : 
 +3.00 -4.00 -2.00 -1.00 
 +5.00 -3.00 +0.00 -2.00 
 +6.00 +0.00 -3.00 -2.00 
 +3.00 -3.00 -1.00 -3.00 
 x : 
+47.00 
+34.00 
+48.00 
+37.00 
 A*x
-128.00 
 +59.00 
 +64.00 
-120.00 
 Press return to continue.

Mathc matrices/c24n
Application
Installer et compiler ces fichiers dans votre répertoire de travail.
/* ------------------------------------ */
/* Save as : c02c.c */
/* ------------------------------------ */
/* ------------------------------------ */
int main(void)
double a[RA*CA]={
 +3, -2, 
 +2, -2
double x_B[RX*CX]={
 +1, 
 +2
double b[RA*CA]={
 +2, +4, 
 +3, +5
double **A = ca_A_mR(a, i_mR(RA,CA));
double **B = ca_A_mR(b, i_mR(RA,CA));
double **X_B = ca_A_mR(x_B, i_mR(RX,CX));
double **invB = inv_mR(B, i_mR(RA,CA));
double **invBA = i_mR(RA,CA);
double **D = i_mR(RA,CA);
double **DX_B = i_mR(RA,CX);
 clrscrn();
 printf(" In the the B basis\n\n"
 " Find [T(x)]_B = D*x_B \n\n"
 " D = InvB*A*B ");
 mul_mR(invB,A,invBA); 
 mul_mR(invBA,B,D);
 p_mR(D,S4,P2,C7); 
 printf(" x_B : ");
 p_mR(X_B,S4,P2,C7);
 printf(" D*x_B");
 p_mR(mul_mR(D,X_B,DX_B),S4,P2,C7);
 stop(); 
 f_mR(A);
 f_mR(X_B);
 f_mR(B);
 f_mR(invB); 
 f_mR(invBA); 
 f_mR(D);
 f_mR(DX_B);
 return 0;
/* ------------------------------------ */
 Calculons [T(x)]_B = D* [x]_B

Exemple de sortie écran :
 In the the B basis
 Find [T(x)]_B = D*x_B 
 D = InvB*A*B 
-4.00 -9.00 
+2.00 +5.00 
 x_B : 
+1.00 
+2.00 
 D*x_B
-22.00 
+12.00 
 Press return to continue.