/* Created on: 15 feb. 2019 Author: Daniel Mårtensson Add C = A+B with A size row_a x column_a and B have the size row_a x column_b and C have the size row_a x column_a  */
void add(double *A, double *B, double *C, int row_a, int column_a, int column_b)
/* Created on: 15 feb. 2019 Author: Daniel Mårtensson Add C = A+B with A size row_a x column_a and B have the size row_a x column_b and C have the size row_a x column_a  */
void add(double *A, double *B, double *C, int row_a, int column_a, int column_b)
{
		for (int j = 0; j < columnMatrix; j++) {
			if (column_b == 1 && column_a > 1)
				*(C++) = *(A++) + *(B + i);
			else if (column_b > 1 && column_a == 1)
				*(C++) = *(A + i) + *(B++);
			else
				*(C++) = *(A++) + *(B++);
		}
	}
}