This is a matlab version of dlagf0 originally created by Anderson (1974, 1975, 1983).
A version of matlab can also be found from (Ben Barrowes)
which is difficult to read for matlab programmers, and also cannot be applied to discrete functions directly.
So I rewrite it by matlab-like expressions, and we can use it for discrete functions directly.
I test three examples provided by Anderson. All Ok, just run test test_dlagf0.m.The main function
is also renamed as dlagf00.m, where 'd' means double-precesion algorithm and the 'f' means Fourier,
'00' means 'Fourier cosine' transform.
Detail is recommend to consult the Readme.md
Ainray (2020). dlagf0 (https://www.mathworks.com/matlabcentral/fileexchange/60408-dlagf0), MATLAB Central File Exchange. Retrieved .
Inspired by: dlagf01
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!