Statistics
| Branch: | Revision:

root / synthbench / euroben-ports / base / C-MPI / mod2am / .svn / text-base / makmat.c.svn-base @ 0:839f52ef7657

History | View | Annotate | Download (221 Bytes)

1
#include <stdlib.h>
2

    
3
double **makmat( int m, int n )
4
{
5
   int    i;
6
   double **a;
7

    
8
   a = calloc( m, sizeof( double * ) );
9
   for( i = 0; i < m; i++ ) {
10
      a[i] = calloc( n, sizeof( double ) );
11
   }
12
   return a;
13
}