View Full Version : svdcmp: float to double accuracy
evgeny
04-25-2005, 02:29 AM
Hi,
I need to adopt NR functions such as svdcmp(), qrdcmp(), tred(2), tqli() and pythag() to run with double accuracy.
What is a simplest way to do this?
evgeny
yinyang
11-17-2005, 05:45 AM
Hi,
don't you just replace float with double? Will it affect something?
Greets
m.
evgeny
06-20-2006, 03:16 AM
I am afraid that this is not so simple procedure:
1) svdcmp() uses exit from itertaions as comparison with zero in if operator
2) this may affected on small singular values and closed pairs of singular values
2) a few operations shoud be done with higher accuracy (double) also in the case of float function version
Evgeny
vBulletin® v3.8.6, Copyright ©2000-2012, Jelsoft Enterprises Ltd.