/* tsvdu1v.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: svdu1v Uses: rmmult trnm matprt Input file: svd?.dat with ? -> 1 to 7 */ #include "ccmath.h" #include char fma[]=" %11.6f"; char fmf[]=" %9.6f"; char fme[]=" %13.7f"; void main(int na,char **av) { int i,j,m,n; double *a,*d,*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