/* atovm.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 atovm(double *v,int n) { double *p0,*q0,*p,*q,*qq; double h,s; int i,j,k,mm; q0=v+n*n-1; *q0=1.; q0-=n+1; p0=v+n*n-n-n-1; for(i=n-2,mm=1; i>=0 ;--i,p0-=n+1,q0-=n+1,++mm){ if(i && *(p0-1)!=0.){ for(j=0,p=p0,h=1.; j