Mathc complexes/a317
Apparence
Installer et compiler ce fichier dans votre répertoire de travail.
c00a.c |
---|
/* ------------------------------------ */
/* Save as : c00a.c */
/* ------------------------------------ */
#include "w_a.h"
/* ------------------------------------ */
#define RCA RC4
/* ------------------------------------ */
void fun(void)
{
double **A = rdefinite_positive_mZ( i_mZ(RCA,RCA),99);
clrscrn();
printf(" A :");
p_mZ(A, S10,P4, S8,P4, C4);
f_mZ(A);
}
/* ------------------------------------ */
int main(void)
{
time_t t;
srand(time(&t));
do
{
fun();
} while(stop_w());
return 0;
}
/* ------------------------------------ */
/* ------------------------------------ */
Matrices hermitiennes définies positives :
Exemple de sortie écran :
A :
+79.4101 +0.0000i -13.6246 +2.2846i -4.1567+10.8663i +7.6595-13.5795i
-13.6246 -2.2846i +55.5895 -0.0000i -0.0547+24.0003i -4.1053-26.2214i
-4.1567-10.8663i -0.0547-24.0003i +57.6478 +0.0000i +22.2512 -0.6240i
+7.6595+13.5795i -4.1053+26.2214i +22.2512 +0.6240i +61.3526 -0.0000i
Press return to continue
Press X return to stop