(C++) ALGLIB
August 30, 2019 · View on GitHub
The ALGLIB is 'a cross-platform open source numerical analysis and data processing library [1]'.
Personally, I dislike this library:
- Pro: use of std::string
- Pro: extensive in-code documentation
- Con: Use of real_1d_array (and the likes) instead of std::vector<T> classes. real_1d_array (and the likes) do not follow a RAII idiom, 'setcontent' has to be used instead.
- Con: Many GCC compiler warnings, where I prefer a clean compile
I could not figure out how to obtain a linear fit: I expect two values (a slope and an offset), where I obtain only one? See ALGLIB example 2: linear fit.
Examples
References