Commit Graph

87 Commits

Author SHA1 Message Date
Krishna Vedala
1c5a699340 remove function_timer from all compilations 2020-05-29 10:47:36 -04:00
Krishna Vedala
0a85cd0176
added stdlib.h for malloc 2020-05-25 18:27:41 -04:00
Krishna Vedala
0044830bbc
doxygen documentation 2020-05-25 18:26:18 -04:00
Krishna Vedala
b2632cdcad
update code documentation 2020-05-25 18:13:43 -04:00
Krishna Vedala
4e832b8e96
moved QR decomposition to a separate header file 2020-05-25 17:02:45 -04:00
Krishna Vedala
2d3d7bfc3f
syntax correction 2020-05-25 17:01:51 -04:00
Krishna Vedala
ec04754b66
added documentation 2020-05-25 16:36:24 -04:00
Krishna Vedala
f097a5d343
dont compile correct - only for MSVC 2020-05-25 16:30:34 -04:00
Krishna Vedala
b714a6c4f1
use const char* to ensure pointer validity 2020-05-25 16:30:10 -04:00
Krishna Vedala
5a4f592b87
added documentation and remove static matrix 2020-05-25 16:10:05 -04:00
Krishna Vedala
d5014515cc skip C99 required files - complex.h for MSVC 2020-05-22 20:32:58 -04:00
Krishna Vedala
4b07f0f6fc
use malloc and free for dynamic variables 2020-04-23 20:45:45 -04:00
Krishna Vedala
bf1c367a62
use pointer for dynamic memory allocation 2020-04-23 20:08:15 -04:00
Krishna Vedala
4077d2ea64
Gist to run and test the Durand-Kerner Algorithm online and view the roots convergence
(cherry picked from commit d4d1902c98)
2020-04-23 19:37:41 -04:00
Krishna Vedala
96f4ce0d40
better formatting of root values
(cherry picked from commit aab7a206cf)
2020-04-23 19:28:32 -04:00
Krishna Vedala
2ac8918423
use end_timer_delete to prevent memory leak 2020-04-20 15:29:51 -04:00
Krishna Vedala
1cd50024b5
added timing for durand_kramer 2020-04-20 14:57:27 -04:00
Krishna Vedala
d127fc79bb
matrix size check 2020-04-20 13:29:06 -04:00
Krishna Vedala
68d5d6a131
create a random symmetric matrix with real eigen values 2020-04-20 13:25:06 -04:00
Krishna Vedala
64fd13388e
real eigen values using shift-optimized qr decomposition 2020-04-20 12:07:48 -04:00
Krishna Vedala
13dc35ad54
QR decomposition 2020-04-20 12:07:19 -04:00
Krishna Vedala
60f100299b
fix numerical_methods cmake 2020-04-20 12:04:25 -04:00
Krishna Vedala
2a8848bf23
print intermediate values only in debug mode 2020-04-09 15:52:10 -04:00
Krishna Vedala
7a7858a7fb
better termination check 2020-04-09 15:51:24 -04:00
Krishna Vedala
c27e045790
use full dynamic range of rand() funtion 2020-04-09 15:50:34 -04:00
Krishna Vedala
b31aafa4e4
start with complex number approximations 2020-04-09 10:38:11 -04:00
Krishna Vedala
e485ad5c70
errors less when the first coefficient is "1" 2020-04-09 09:44:05 -04:00
Krishna Vedala
44f207cd52
make uswe "long double" precisions 2020-04-09 09:40:58 -04:00
Krishna Vedala
6be39f4d92
reduced maximum number of iterations & added logs every 500 iters 2020-04-09 08:57:31 -04:00
Krishna Vedala
0d7e3ed0b5
replace random() with rand() 2020-04-09 08:56:41 -04:00
Krishna Vedala
8aaf345748
removed openmp 2020-04-09 00:25:53 -04:00
Krishna Vedala
8e2ad2e1ef
fixed 0^th iter log print 2020-04-09 00:22:13 -04:00
Krishna Vedala
da073120d0
dont print 0 coeffs 2020-04-09 00:19:42 -04:00
Krishna Vedala
d3d7cce24d
durand_kerner method to compute all roots of a polynomial. 2020-04-09 00:17:30 -04:00
Krishna Vedala
51930feec2
better printing 2020-04-08 21:21:32 -04:00
Krishna Vedala
fa42a95ad5
+ newton raphson interpolation 2020-04-08 15:31:00 -04:00
Krishna Vedala
952d521a3c
better name - numerical methods 2020-04-08 10:28:58 -04:00