/* ldvmat.c CCMATH mathematics library source code. * * Copyright (C) 2000 Daniel A. Atkinson All rights reserved. * This code may be redistributed under the terms of the GNU library * public license (LGPL). ( See the lgpl.license file for details.) * ------------------------------------------------------------------------ */ void ldvmat(double *a,double *v,int n) { double *p0,*q0,*p,*q,*qq; double h,s; int i,j,k,mm; for(i=0,mm=n*n,q=v; i0 ;--i,p0-=n+1,q0-=n+1,++mm){ if(*(p0-1)!=0.){ for(j=0,p=p0,h=1.; j