/* Created on: 21 feb. 2019 Author: Daniel Mårtensson This will insert matrix A, size row x column inside matrix B, row x column. The variables startRow_b and startColumn_b describe which row and column we should to insert first element of A into B Notice that start positions are indexed from zero  */
void insert(double *A, double *B, int row_a, int column_a, int column_b, int startRow_b, int startColumn_b)
/* Created on: 21 feb. 2019 Author: Daniel Mårtensson This will insert matrix A, size row x column inside matrix B, row x column. The variables startRow_b and startColumn_b describe which row and column we should to insert first element of A into B Notice that start positions are indexed from zero  */
void insert(double *A, double *B, int row_a, int column_a, int column_b, int startRow_b, int startColumn_b)
{
		memcpy(B, A, column_a*sizeof(double));
		A += column_a;
		B += column_b;
	}
}