# HG changeset patch # User Some Random Person # Date 1337551891 25200 # Node ID 55fdabd7269c3617777fb5565581c0d079de06ab Initial add.. just the main file for now diff -r 000000000000 -r 55fdabd7269c .hgeol --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/.hgeol Sun May 20 15:11:31 2012 -0700 @@ -0,0 +1,14 @@ + +[patterns] +**.py = native +**.txt = native +**.c = native +**.h = native +**.cpp = native +**.java = native +**.class = bin +**.jar = bin +**.sh = native +**.pl = native +**.jpg = bin +**.gif = bin diff -r 000000000000 -r 55fdabd7269c .hgignore --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/.hgignore Sun May 20 15:11:31 2012 -0700 @@ -0,0 +1,12 @@ +nbproject +Makefile +build +dist +src/Default +src/.settings +src/.cproject +src/.project +.dep.inc +glob:.cproject +glob:.project +glob:Debug diff -r 000000000000 -r 55fdabd7269c __brch__default --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/__brch__default Sun May 20 15:11:31 2012 -0700 @@ -0,0 +1,1 @@ +Applications normally have only the default branch -- they shouldn't be affected by any choices in VMS or language.. diff -r 000000000000 -r 55fdabd7269c main.c --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.c Sun May 20 15:11:31 2012 -0700 @@ -0,0 +1,35 @@ +/* + * Copyright Oct 24, 2009 OpenSourceStewardshipFoundation.org + * Licensed under GNU General Public License version 2 + * + * author seanhalle@yahoo.com + */ + +#include +#include + +#include "Matrix_Mult.h" +#include "SSR_Matrix_Mult/SSR_Matrix_Mult.h" + +/** + * + */ +int main( int argc, char **argv ) + { Matrix *leftMatrix, *rightMatrix, *resultMatrix; + ParamBag *paramBag; + + DEBUG__printf2(TRUE, "arguments: %s | %s", argv[0], argv[1] ); + + paramBag = makeParamBag(); + readParamFileIntoBag( argv[1], paramBag ); + initialize_Input_Matrices_Via( &leftMatrix, &rightMatrix, paramBag ); + + resultMatrix = multiplyTheseMatrices( leftMatrix, rightMatrix ); + + printf("\nresult matrix: \n"); + printMatrix( resultMatrix ); + + fflush(stdin); + + exit(0); //cleans up + }