https://github.com/Unipisa/CMM
Raw File
Tip revision: 29c7c5881c0ff2ef9e3a96be37e6eaef9b33a201 authored by Giuseppe Attardi on 07 November 1994, 16:36:34 UTC
1.3 -
Tip revision: 29c7c58
test7.C
#include "config.h"
#include "cmm.H"
#include "../../BigNum/g++/Integer.H"

int main()
{
GcArray<Integer> &t = * new(900) GcArray<Integer>(0);
int i,j,k=1;

for (i=0;i<30;i++){
   for (j=0;j<30;j++){
        t[30*i+j]=Integer(i+j);
        cout << t[30*i+j];
   }
}

for (k=25;k<30;i++){
  for (i=10;i<30;i++){
    for (j=10;j<30;j++){
        t[30*i+j]=(t[30*k]*t[30*i+j])-(t[i*30]*t[30*k+j]);
        cout << t[(i-10)*30 + (j-10)];
    }
  }
}
}
back to top