/* tsvduv.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.) * ------------------------------------------------------------------------ */ /* Test: svduv Uses: rmmult trnm mcopy matprt Input file: svd?.dat with ? -> 1 t0 7 */ #include "ccmath.h" #include char fma[]=" %11.6f",fme[]=" %14.7f",fmf[]=" %9.6f"; void main(int na,char **av) { int i,j,m,n; double *a,*d,*u,*v; double *a1; double *p,*q; FILE *fin; if(na!=2){ printf("para: file_in\n"); exit(-1);} fin=fopen(*++av,"r"); fscanf(fin,"%d %d",&m,&n); if(m