Linear Algebra and the C Language/a0ew


Install and compile this file in your working directory.

/* ------------------------------------ */
/*  Save as :   c00b.c                  */
/* ------------------------------------ */
#include "v_a.h"
/* ------------------------------------ */
int main(void)
{                
double **A     = rE_mR(i_mR(R5,C5),9999, 1E-2);

   clrscrn(); 
   printf("You can copy these values into a C file.\n\n"); 
   
   printf("A : with comma (P)"); 
   PE_mR(A, S10,P2,C6);
      
   stop();
   
   f_mR(A);

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


Screen output example:

                                                                                       

You can copy these values into a C file.

A : with comma (P)
 +9.83e+01,  -9.64e+00,  -3.59e+01,  +7.38e+01,  -6.31e+01, 
 -4.89e+01,  -7.04e+01,  +2.27e+01,  +7.07e+01,  +9.58e+01, 
 +8.71e+01,  -2.04e+01,  +9.43e+01,  -7.38e+00,  -8.61e+01, 
 +4.09e+01,  +5.60e+01,  -1.00e+02,  +7.40e+01,  +7.84e+01, 
 -9.36e+01,  -3.79e+00,  -4.63e+01,  +8.67e+01,  +3.30e+01  

 Press return to continue.