Mathc matrices/02g
Installer et compiler ces fichiers dans votre répertoire de travail.
c00a.c |
---|
/* ------------------------------------ */
/* Save as : c00a.c */
/* ------------------------------------ */
#include "v_a.h"
/* ------------------------------------ */
void fun(int rc)
{
double **J = J_mR(i_mR(rc,rc));
clrscrn();
printf(" J : \t\t J_mR();");
p_mR(J,S5,P0,C10);
f_mR(J);
}
/* ------------------------------------ */
int main(void)
{
time_t t;
srand(time(&t));
do
{
fun(rp_I(R6));
} while(stop_w());
return 0;
}
/* ------------------------------------ */
/* ------------------------------------ */
Exemple de sortie écran :
J : J_mR();
+0 +0 +0 +0 +0 +1
+0 +0 +0 +0 +1 +0
+0 +0 +0 +1 +0 +0
+0 +0 +1 +0 +0 +0
+0 +1 +0 +0 +0 +0
+1 +0 +0 +0 +0 +0
Press return to continue
Press X return to stop