Mathc complexes/01j
Apparence
Installer et compiler ce fichier dans votre répertoire de travail.
c00a.c |
---|
/* ------------------------------------ */
/* Save as : c00a.c */
/* ------------------------------------ */
#include "w_a.h"
/* ------------------------------------ */
void fun(int r)
{
double **A = r_skew_hermitian_mZ(i_mZ(r,r), 9);
clrscrn();
printf(" A : Skew-Hermitian matrix");
p_mZ(A, S8,P0, S6,P0, C5);
f_mZ(A);
}
/* ------------------------------------ */
int main(void)
{
time_t t;
srand(time(&t));
do
{
fun(rp_I(R3)+R1);
} while(stop_w());
return 0;
}
/* ------------------------------------ */
/* ------------------------------------ */
Matrices anti-hermitiennes.
Exemple de sortie écran :
A : Skew-Hermitian matrix
+0 -16i +10 +14i -3 -12i -8 +17i
-10 +14i +0 +4i +5 +7i -11 -14i
+3 -12i -5 +7i +0 -12i +4 +1i
+8 +17i +11 -14i -4 +1i +0 -8i
Press return to continue
Press X return to stop