Aller au contenu

Mathc complexes/a59

Un livre de Wikilivres.

Application


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


c00.c
/* ------------------------------------ */
/*  Save as :   c00.c                   */
/* ------------------------------------ */

/* ------------------------------------ */
#include "w_a.h"
/* ------------------------------------ */
void fun(int r)
{
double **A = rEcsymmetric_mZ(i_mZ(R3,C3), 999999, 1E-3 );

  clrscrn();
  printf(" Copy/Past into the octave window.       \n\n");
  pE_Octave_mRZ(A,"A", P3);
  printf(" det(A)\n\n\n");

  f_mZ(A);  
}
/* ------------------------------------ */
int main(void)
{
time_t t;

  srand(time(&t));

do
{
  fun(rp_I(R3)+R2);
} while(stop_w());

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


 Copy/Past into the octave window.       

 A=[
+2.452e+06,+9.911e+05,-2.071e+06;
+9.911e+05,+1.879e+06,-6.872e+05;
-2.071e+06,-6.872e+05,+2.623e+06]

 det(A)



 Press   return to continue
 Press X return to stop