#include "SparseMat.h" float * MultiplySparseMats(struct mat_sp A, struct mat_sp B) { float * C; struct mat_sp Bt; int i, j; /* Initialize product matrix */ C = malloc(A.m*B.n*sizeof(float)); /* Create Transpose */ Bt = TransposeSparseMat(B); /* Fill Matrix */ for(i=0; i