Mathc complexes/a316
Installer et compiler ces fichiers dans votre répertoire de travail.
c00a.c |
---|
//* ------------------------------------ */
/* Save as : c00a.c */
/* ------------------------------------ */
#include "w_a.h"
/* ------------------------------------ */
void fun(int rc)
{
double **A = r_hermitian_mZ(i_mZ(rc,rc),9);
clrscrn();
printf(" A : ");
p_mZ(A, S8,P1, S6,P1, C5);
f_mZ(A);
}
/* ------------------------------------ */
int main(void)
{
time_t t;
srand(time(&t));
do
fun(rp_I(RC3)+RC1);
while(stop_w());
return 0;
}
/* ------------------------------------ */
/* ------------------------------------ */
Matrices hermitiennes :
Exemple de sortie écran :
A :
+2.0 +0.0i +0.0 -8.0i -3.0 +4.0i +5.0 -11.0i
+0.0 +8.0i +4.0 +0.0i +9.0 -2.0i +10.0 +1.0i
-3.0 -4.0i +9.0 +2.0i +4.0 +0.0i +8.0 -4.0i
+5.0 +11.0i +10.0 -1.0i +8.0 +4.0i -16.0 +0.0i
Press return to continue
Press X return to stop