Mathc matrices/00o
Apparence
Installer et compiler ces fichiers dans votre répertoire de travail.
c00a.c |
---|
/* ------------------------------------ */
/* Save as : c00a.c */
/* ------------------------------------ */
#include "v_a.h"
/* ------------------------------------ */
void fun(int r)
{
double **U = r_mR( i_mR(R1, r),9);
double **V = r_mR( i_mR( r,C1),9);
double **A = rHankel_mR(U,V,i_mR( r, r) );
clrscrn();
printf(" Copy/Past into the octave window. \n\n");
p_Octave_mR(A,"A", P0);
printf(" det(A)\n\n\n");
printf(" det_R(A) = %+.0f\n\n\n",det_R(A));
f_mR(U);
f_mR(V);
f_mR(A);
}
/* ------------------------------------ */
int main(void)
{
time_t t;
srand(time(&t));
do
{
fun(rp_I(RC5)+RC1);
} while(stop_w());
return 0;
}
/* ------------------------------------ */
/* ------------------------------------ */
Matrice de Hankel.
Exemple de sortie écran :
Copy/Past into the octave window.
A=[
-3,-7,+9,-7;
-7,+9,-7,-5;
+9,-7,-5,-4;
-7,-5,-4,-9]
det(A)
det_R(A) = +13364
Press return to continue
Press X return to stop