Linear Algebra and the C Language/a0ev


Install and compile this file in your working directory.

/* ------------------------------------ */
/*  Save as :   c00a.c                  */
/* ------------------------------------ */
#include "v_a.h"
/* ------------------------------------ */
int main(void)
{                
double **A = r_mR(i_mR(R5,C5),99);

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

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

Screen output example:

                                                                                       
You can copy these values into a C file.

A : with comma (P)
  +29,   -73,   -24,   +56,   -70, 
  -42,    -6,   +96,   +43,   +80, 
  +99,   -61,   +27,   -45,   -92, 
  +33,   +55,   -96,   +74,   +14, 
  -52,   -82,   -78,   +60,   +30  

 Press return to continue.