view main.c @ 0:9cf4c84a3091

Initial add of copied code -- nonsense code still
author Some Random Person <seanhalle@yahoo.com>
date Wed, 23 May 2012 12:39:19 -0700
parents
children 9ad1a6186956
line source
1 /*
2 * Copyright Oct 24, 2009 OpenSourceStewardshipFoundation.org
3 * Licensed under GNU General Public License version 2
4 *
5 * author seanhalle@yahoo.com
6 */
8 #include <malloc.h>
9 #include <stdlib.h>
11 #include "Matrix_Mult.h"
12 #include "SSR_Matrix_Mult/SSR_Matrix_Mult.h"
14 /**
15 *
16 */
17 int main( int argc, char **argv )
18 { Matrix *leftMatrix, *rightMatrix, *resultMatrix;
19 ParamBag *paramBag;
21 DEBUG__printf2(TRUE, "arguments: %s | %s", argv[0], argv[1] );
23 paramBag = makeParamBag();
24 readParamFileIntoBag( argv[1], paramBag );
25 initialize_Input_Matrices_Via( &leftMatrix, &rightMatrix, paramBag );
27 resultMatrix = multiplyTheseMatrices( leftMatrix, rightMatrix );
29 printf("\nresult matrix: \n");
30 printMatrix( resultMatrix );
32 fflush(stdin);
34 exit(0); //cleans up
35 }