/******************************** Author: Sravanthi Kota Venkata ********************************/ #include "sdvbs_common.h" F2D* fSum(F2D* inMat) { F2D *outMat; int rows, cols, i, j, k; float temp; int newRow, newCols; int Rcols; rows = inMat->height; cols = inMat->width; if(cols == 1 || rows == 1) Rcols = 1; else Rcols = cols; outMat = fSetArray(1,Rcols,0); if( cols == 1) { temp = 0; for( j=0; j