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