Application

Installer et compiler ces fichiers dans votre répertoire de travail.

c00a.c
/* ------------------------------------ */
/*  Save as :   c00a.c                  */
/* ------------------------------------ */
#include "v_a.h"
/* ------------------------------------ */     
#define RCA          RC2  
/* ------------------------------------ */ 
void fun(void)
{                          
double d[RCA*RCA] ={   
  +1, +0,          
  +0, +0,        
};

double **D      =         ca_A_mR(d, i_mR(RCA,RCA));                       
double **A      = rdefpos_diag_mR(D, i_mR(RCA,RCA),9);

  clrscrn(); 
  printf(" A : Choose your EignValues,"
         " and copy these lines into your C file");
  P_mR(A, S8,P12, C4);     
    
  printf(" D = EValue :");
  p_mR(D, S8,P2, C4);
              
  f_mR(A);
  f_mR(D);
}
/* ------------------------------------ */
int main(void)
{
time_t t;

  srand(time(&t));

do
{
 fun();

} while(stop_w());

  return 0;
}
/* ------------------------------------ */
/* ------------------------------------ */


Créer les matrices A.'  


Exemple de sortie écran :

 A : Choose your EignValues, and copy these lines into your C file
+0.566371681416, -0.495575221239, 
-0.495575221239, +0.433628318584  

 D = EValue :
   +1.00    +0.00 
   +0.00    +0.00 


 Press   return to continue
 Press X return to stop