Mathc complexes/Fichiers c : test02d
Installer et compiler ce fichier dans votre répertoire de travail.
test02d.c |
---|
/* ------------------------------------ */
/* Save as : test02d.c */
/* ------------------------------------ */
#include "w_a.h"
/* ------------------------------------ */
int main(void)
{
double **A = m0_mZ(i_mZ(R5,C5)); /* A is a zero matrix */
eye_mZ(A); /* now A is an identity matrix */
/* no out */
f_mZ(A);
return 0;
}
Le même exemple, mais cette fois on initialise la matrice zéro pendant sa création.
Il n'y a pas de sortie écran.