fixed point singular value decomposition in c/c++ [closed] - c++

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I am looking for some c/c++ libraries to do fixed point singular value decomposition or eigenvalue decomposition. Do you know any libraries or any pointers to existing codes?
Thanks

There is a good answer to your question in this thread:
Single Value Decomposition implementation C++
Also, #Bathsheba is pointing you to a good resource, in Numerical Recipes. C is free, but C++ is only "available" with the paid version:
C: http://apps.nrbook.com/c/index.html
C++: http://www.nr.com/oldverswitcher.html

Numerical recipes is a good place to start for all this stuff, visit www.nr.com.
It has versions in C and C++ and other languages although an old cat like me sticks to the C versions.
The very well-written book also explains the algorithms in good detail (the authors are 4 Cambridge professors).
You will have to do some tweaking for fixed point; may be as simple as changing the data types.
Worth a look though methinks.

Related

Good books on OCaml [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
What are the good books on OCaml, which considered as a must read for OCaml developers on all levels?
I came across "Real World OCaml" by Yaron Minsky and Co. (https://realworldocaml.org/). It is quite a good introduction into the language, although biased towards Core library and its features. And so far I could find nothing more descriptive.
Start at this page. I would suggest to read Jason Hickey's book... and all others in order. There is also a new book OCaml from the very begining, although I haven't read it myself (only few chapters), I would recommend it.

Multithreading C++ literature for Beginners [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I want to learn Multithreading in C++ and I'm therefore on the hunt for some good literature on the subject containing lots of code and examples. I've found several books online but I was hoping that someone could give a tip on books that you've read yourself and found beneficial for your learning.
Thanks in advance for any reply on the subject
Learn about concurrency and about C++ separately. This will let you better understand what is essential and what is there because either cannot be done differently in C++ or because can be done much better in C++. I may cast downvotes but for learning concurrency as the beginner you will hardly find anything as handy as Java Tutorial from Sun. Even well known and respected Posix threads have been modeled after Solaris threads (which Sun has designed).

Definition of the modf() function? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
This is a pretty general question but I have searched around and don't know of any good repositories to find the answer from, hopefully this thread will help others in the future as well.
As I'm learning C I just went over the modf() function and am looking into the floor() function.
Is there a place to find actual definitions of the abbreviations? I use terminal frequently to find how they are used or to get another guide other than my book, e.g. man modf, but I was hoping to find a list or dictionary that shows the actual abbreviation e.g. Int - integer, float - floating point number... and so on. It seems to help me remember the functions if I can relate them to language in some way.
Thank you!
There is no standard abbreviation rules in defining function name in any programming languages, what you need to know is what library you are using, and see into that library documentations.
From the look of it, you are referring to functions defined in math.h in c standard library.
http://www.tutorialspoint.com/c_standard_library/math_h.htm

Is there a fast and free alternative to MATLAB regarding matrix calculations? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I am looking for a fast and free alternative to MATLAB regarding matrix calculations (inversions, etc).
MATLAB is fast but also expensive.
Besides, as it is an interpreted language, I think there must be libraries for compiled languages which can achieve the same matrix operations faster.
I know Octave but I have heard it is slower than MATLAB...
Does anyone know of something?
Since you tagged your question with C++, I suggest Eigen.
I think that python with some library like SciPy and NumPy can be a good solution. (Python is not a strictly compiled language, but most of the libraries are written in C/C++ and are pretty fast).
I personally use the unofficial OpenGL Math Library GLM. It should have everything you should need.
http://glm.g-truc.net/0.9.5/index.html

C++ Hermite polynomial implementation [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
Can anyone recommend a good numerical library providing a C++ implementation of Hermite polynomials? I am building them brute force, using iterative algorithms, but I would like some ready made alternatives which will probably work more quickly.
If you don't mind using Boost, there is a Hermite polynomial implementation in boost/math/special_functions/hermite.hpp
Check out the docs here: http://www.boost.org/doc/libs/1_55_0/libs/math/doc/html/math_toolkit/sf_poly/hermite.html
The Boost libraries have a ready made set of functions for Hermite Polynomials.
#include <boost/math/special_functions/hermite.hpp>
I've never used this boost header but you can start reading about it here:
http://www.boost.org/doc/libs/1_36_0/libs/math/doc/sf_and_dist/html/math_toolkit/special/sf_poly/hermite.html