Exemple de sortie écran :
 A :
 -468 +595 -781 -833 -270 
 -55 -978 -879 -525 -243 
 -52 -817 -799 -808 -42 
 b :
 -934 
 -680 
 -639 
 Ab :
 -468 +595 -781 -833 -270 -934 
 -55 -978 -879 -525 -243 -680 
 -52 -817 -799 -808 -42 -639 
 Press return to continue. 
 ------------------------------------------
 Ab :
 +1.0000 +0.0000 -0.0000 -16.8104 +9.7578 -0.2510 
 +0.0000 +1.0000 -0.0000 -5.0632 +2.7567 -0.2972 
 +0.0000 -0.0000 +1.0000 +7.2826 -3.4013 +1.1199 
 Press return to continue. 
 ---------------DEBUG 1 ------------ 
 new_Ab : put the zero rows
 +1.0000 +0.0000 -0.0000 -16.8104 +9.7578 -0.2510 +0.0000 +0.0000 
 +0.0000 +1.0000 -0.0000 -5.0632 +2.7567 -0.2972 +0.0000 +0.0000 
 +0.0000 -0.0000 +1.0000 +7.2826 -3.4013 +1.1199 +0.0000 +0.0000 
 +0.0000 +0.0000 +0.0000 +0.0000 +0.0000 +0.0000 +0.0000 +0.0000 
 +0.0000 +0.0000 +0.0000 +0.0000 +0.0000 +0.0000 +0.0000 +0.0000 
 new_Ab : put_freevariable_mR()
 +1.0000 +0.0000 -0.0000 -16.8104 +9.7578 -0.2510 +0.0000 +0.0000 
 +0.0000 +1.0000 -0.0000 -5.0632 +2.7567 -0.2972 +0.0000 +0.0000 
 +0.0000 -0.0000 +1.0000 +7.2826 -3.4013 +1.1199 +0.0000 +0.0000 
 +0.0000 +0.0000 +0.0000 +1.0000 +0.0000 +0.0000 +1.0000 +0.0000 
 +0.0000 +0.0000 +0.0000 +0.0000 +1.0000 +0.0000 +0.0000 +1.0000 
 Press return to continue. 
 ---------------DEBUG 2 ------------ 
 Copy/Past into the octave window.
 new_Ab=[
+1.00000000,+0.00000000,-0.00000000,-16.81043896,+9.75782546,-0.25101204,+0.00000000,+0.00000000;
+0.00000000,+1.00000000,-0.00000000,-5.06319322,+2.75671307,-0.29715283,+0.00000000,+0.00000000;
+0.00000000,-0.00000000,+1.00000000,+7.28256782,-3.40130351,+1.11993303,+0.00000000,+0.00000000;
+0.00000000,+0.00000000,+0.00000000,+1.00000000,+0.00000000,+0.00000000,+1.00000000,+0.00000000;
+0.00000000,+0.00000000,+0.00000000,+0.00000000,+1.00000000,+0.00000000,+0.00000000,+1.00000000]
 rref(new_Ab.00000000001)
 Press return to continue. 
 -- VERIFY THE RESULT INTO OCTAVE --
 new_Ab :
 +1.0000 +0.0000 +0.0000 +0.0000 +0.0000 -0.2510 +16.8104 
 +0.0000 +1.0000 +0.0000 +0.0000 +0.0000 -0.2972 +5.0632 
 +0.0000 +0.0000 +1.0000 +0.0000 +0.0000 +1.1199 -7.2826 
 +0.0000 +0.0000 +0.0000 +1.0000 +0.0000 +0.0000 +1.0000 
 +0.0000 +0.0000 +0.0000 +0.0000 +1.0000 +0.0000 +0.0000 
 -9.7578 
 -2.7567 
 +3.4013 
 +0.0000 
 +1.0000 
 Press return to continue
 Press X to stop

Mathc matrices/c17e
Application 
Installer et compiler ces fichiers dans votre répertoire de travail.
/* ------------------------------------ */
/* Save as : gj_r5.c */
/* ------------------------------------ */
void fun(int r, int c)
double **A = i_mR(r,c);
double **b = i_mR(r,C1);
double **Ab = i_Abr_Ac_bc_mR(r,c,C1);
double **new_Ab = i_Abr_Ac_bc_mR(csize_A_R(Ab), 
 csize_A_R(Ab),
 csize_R(A)-rsize_R(A) + C1); 
double **new_b = i_mR(rsize_R(new_Ab),csize_b_R(new_Ab)); 
 r_mR(A,999.);
 r_mR(b,999.);
 clrscrn();
 printf(" A :");
 p_mR(A,S8,P0,C7);
 printf(" b :");
 p_mR(b,S8,P0,C7);
 printf(" Ab :");
 c_A_b_Ab_mR(A,b,Ab);
 p_mR(Ab,S8,P0,C7);
 stop();
 clrscrn();
 GJ_TP_mR(Ab);
 printf(" Ab :");
 p_mR(Ab,S10,P4,C7);
 stop(); 
 clrscrn();
 GJ_TPfreeV_mR(Ab,new_Ab); 
 printf(" new_Ab :"); 
 p_mR(new_Ab,S10,P4,C7);
 stop(); 
 clrscrn();
 c_Ab_b_mR(new_Ab,new_b);
 printf(" new_b :"); 
 p_mR(new_b,S10,P4,C7);
 printf(" new_b : free variables");
 p_freeV(new_b,S8,P4);
 f_mR(new_Ab); 
 f_mR(Ab);
 f_mR(b);
 f_mR(A);
/* ------------------------------------ */
int main(void)
time_t t;
 srand(time(&t));
do
 fun(rp_I(R3)+R1, rp_I(R3)+R4);
} while(stop_w());
 return 0;
/* ------------------------------------ */
Nous utilisons la fonction GJ_TP_mR(Ab); pour résoudre ce système.

Exemple de sortie écran :
 A :
 +364 -603 -189 +278 +352 -171 -967 
 -53 -327 +574 -297 -685 -309 +454 
 -391 +322 +730 -13 +312 +156 -693 
 b :
 +318 
 -239 
 -983 
 Ab :
 +364 -603 -189 +278 +352 -171 -967 
 -53 -327 +574 -297 -685 -309 +454 
 -391 +322 +730 -13 +312 +156 -693 
 +318 
 -239 
 -983 
 Press return to continue. 
 Ab :
 +1.0000 +0.0000 +0.0000 +15.2366 +36.2941 +7.3390 -58.5139 
 +0.0000 +1.0000 +0.0000 +7.1764 +17.5204 +3.9626 -27.3832 
 +0.0000 +0.0000 +1.0000 +4.9777 +12.1390 +2.3967 -20.2117 
 -11.8890 
 -6.1342 
 -5.0087 
 Press return to continue. 
 new_Ab :
 +1.0000 +0.0000 +0.0000 +0.0000 +0.0000 +0.0000 +0.0000 
 +0.0000 +1.0000 +0.0000 +0.0000 +0.0000 +0.0000 +0.0000 
 +0.0000 +0.0000 +1.0000 +0.0000 +0.0000 +0.0000 +0.0000 
 +0.0000 +0.0000 +0.0000 +1.0000 +0.0000 +0.0000 +0.0000 
 +0.0000 +0.0000 +0.0000 +0.0000 +1.0000 +0.0000 +0.0000 
 +0.0000 +0.0000 +0.0000 +0.0000 +0.0000 +1.0000 +0.0000 
 +0.0000 +0.0000 +0.0000 +0.0000 +0.0000 +0.0000 +1.0000 
 -11.8890 -15.2366 -36.2941 -7.3390 +58.5139 
 -6.1342 -7.1764 -17.5204 -3.9626 +27.3832 
 -5.0087 -4.9777 -12.1390 -2.3967 +20.2117 
 +0.0000 +1.0000 +0.0000 +0.0000 +0.0000 
 +0.0000 +0.0000 +1.0000 +0.0000 +0.0000 
 +0.0000 +0.0000 +0.0000 +1.0000 +0.0000 
 +0.0000 +0.0000 +0.0000 +0.0000 +1.0000 
 Press return to continue. 
 new_b :
 -11.8890 -15.2366 -36.2941 -7.3390 +58.5139 
 -6.1342 -7.1764 -17.5204 -3.9626 +27.3832 
 -5.0087 -4.9777 -12.1390 -2.3967 +20.2117 
 +0.0000 +1.0000 +0.0000 +0.0000 +0.0000 
 +0.0000 +0.0000 +1.0000 +0.0000 +0.0000 
 +0.0000 +0.0000 +0.0000 +1.0000 +0.0000 
 +0.0000 +0.0000 +0.0000 +0.0000 +1.0000 
 new_b : free variables
 x1 = -11.8890 -15.2366*r -36.2941*s -7.3390*t +58.5139*u
 x2 = -6.1342 -7.1764*r -17.5204*s -3.9626*t +27.3832*u
 x3 = -5.0087 -4.9777*r -12.1390*s -2.3967*t +20.2117*u
 x4 = +0.0000 +1.0000*r +0.0000*s +0.0000*t +0.0000*u
 x5 = +0.0000 +0.0000*r +1.0000*s +0.0000*t +0.0000*u
 x6 = +0.0000 +0.0000*r +0.0000*s +1.0000*t +0.0000*u
 x7 = +0.0000 +0.0000*r +0.0000*s +0.0000*t +1.0000*u
 Press return to continue
 Press X to stop

Annexes de wikibooks/installation utilisateur

Installation utilisateur.
"users_install_annex.sh" permet de créer la structure de base des répertoires. Il suffit:
 compil2bin.sh <SRCS> <SBINS>
Exemple "pwd" dans les répertoires <SBINS> (pwd est le répertoire courant):
Surligner et exécuter le code suivant:
 cd ~/Annexer/sbin; "chmod 755 src/compil2bin.sh"; "src/compil2bin.sh src ."; chmod 755 compil2bin
Exemple "pwd" dans les répertoires <SRCS> :
Surligner et exécuter le code suivant:
 cd ~/Annexer/src; "../sbin/compil2bin . ../bin"

Annexes de wikibooks/installation administrateur

Installation administrateur.
"admin_install_annex.sh"' permet de créer la structure de base des répertoires du logiciel Add_appendix. et ajoute les répertoires complémentaires pour l'administration du logiciel.
tests:
Répertoires principaux.
00-install_annex
01-sbsrc
02-manuels
0-pre-annex.sh
10-add_sclipwb.sh
11-annexer.sh
12-addappendix.sh
1-annex.lib
2-annex.sh
3-header.inc.sh
4-list.sh
5-download.sh
6-add_sclt.sh
7-scli.inc.sh
8-add_sclic.sh
9-add_sclipco.sh
tests/1-annex.lib:.
11-findbook.sh 12-ecfpb.sh 13-ecfpc.sh 14-cpcleaned2bin.sh 15-killalldoc.sh
tests/5-download.sh:.
tests/5-download.sh/temp:

Mathc matrices/a18
Bibliothèque
Installer ce fichier dans votre répertoire de travail.
/* Save as : v_r.h */
/* Rand */
/* ------------------------------------ */
 Déclaration des fichiers h.

Mathc matrices/h18a
Application 
Installer et compiler ces fichiers dans votre répertoire de travail.
/* Save as : c00a.c */
/* ------------------------------------ */
void fun(int r,int c)
double **A = r_mR(i_mR(r,c),99.);
 clrscrn(); 
 printf(" A :");
 p_mR(A,S5,P0,C10);

f_mR(A);
/* ------------------------------------ */
int main(void)
time_t t;
 srand(time(&t));
int i;
do
 i = rp_I(R3)+R1;
 fun(i,i+C1);
} while(stop_w());
 return 0;
/* ------------------------------------ */
 Afficher une matrice

Exemple de sortie écran :
 A :
 -78 +56 -41 -30 +63 
 -16 +72 -7 +52 +15 
 +53 -72 -5 +89 +16 
 -79 +57 -66 +98 +68 
 Press return to continue
 Press X to stop

Mathc matrices/h18b
Bibliothèque
Installer ce fichier dans votre répertoire de travail.
/* Save as : v_i.h */
/* Create */
/* ------------------------------------ */ 
 Déclaration des fichiers h.