/* Created on: 16 feb. 2019 Author: Daniel Mårtensson Same as maxvector.c  */
void minvector(double *A, int row, double *val, int *index)
/* Created on: 16 feb. 2019 Author: Daniel Mårtensson Same as maxvector.c  */
void minvector(double *A, int row, double *val, int *index)
{
		if(*(A+i) < past_val){
			past_val = *(A+i);
			*val = *(A+i);
			*index = i;
		}
	}
}