/* Created on: 16 feb. 2019 Author: Daniel Mårtensson Concate A with B into C. A size row_a x column_a B size row_B x column_A C size (row_a + row_b) x column_a  */
void vertcat(double *A, double *B, double *C, int row_a, int column_a, int row_b)
/* Created on: 16 feb. 2019 Author: Daniel Mårtensson Concate A with B into C. A size row_a x column_a B size row_B x column_A C size (row_a + row_b) x column_a  */
void vertcat(double *A, double *B, double *C, int row_a, int column_a, int row_b)
{
		for (int j = 0; j < column_a; j++) {
			*(C++) = *((A + i * column_a) + j);
		}
	}
	for (int i = 0; i < row_b; i++) {
		for (int j = 0; j < column_a; j++) {
			*(C++) = *((B + i * column_a) + j);
		}
	}
}