/* Created on: 10 feb. 2019 Author: Daniel Mårtensson Turn a matrix A, with size row x column, into a upper triangular matrix B, with size row x column  */
void triu(double *A, double *B, int shift, int row, int column)
/* Created on: 10 feb. 2019 Author: Daniel Mårtensson Turn a matrix A, with size row x column, into a upper triangular matrix B, with size row x column  */
void triu(double *A, double *B, int shift, int row, int column)
{
		for(int j = 0; j < column; j++){
			if(j == 0){
				j = i + shift;
			}
			if(j != column)
				*((B + i*(row-t)) + j) = *((A + i*(row-t)) + j);
		}
	}
}