C++ Hermite polynomial implementation [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
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

Related

where can i find c++ std API's - for example api for std::list [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'm doing some homework for school, and I would like to study the api for std::list, as i'm supposed to implement one of my own.
I'd like to implement a similar interface to that of std, so that i may use my own list comfortably later.
Thanks.
You will find the complete list of member functions and operators at cppreference.com (as also pointed out by #Rook)
But I also think this is not easy, and for sure not for a C++ beginner.
Another option is these offline man pages for STL.

plotting inside C++ [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 8 years ago.
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.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Improve this question
I am trying to plot variables in C++ inside a for loop. In Matlab, it is very easy, just type plot(x,y), but I do not know how to use it in C++. Is it possible to do it with opencv? or if anybody has a better recommendation I really appreciate it.
If you want high quality plots take a look at gnuplot (can be used from C++ program) or asymptote (you can generate script and use this script for render your plot), but these tools are not for dynamic plotting.
Use the cvplot library, it will provide matlab style plotting function in opencv. You can also use this library.

Is there a (C/C++) library of for bit twiddling? [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
There are many known bit twiddling hacks, e.g. the list here; as well as numerous questions here on SO.
Is there a standard-ish library, or even a single header file, implementing all of these? (I would get, as inline functions and/or as preprocessor macros.)
Edit: I'm not interested in implementations using specialized types, i.e. bit vectors or bit sets, but rather code which works directly on your ints/unsigneds/etc.
Well, there's std <bitset> or even bitmagic
Googling will find even more
These are 2 libraries named "Bitfile" library and "Bitarray" library. You can find it at:
http://michael.dipperstein.com/bitlibs/
There is also a single header file which you might find useful at:
http://www.catonmat.net/blog/bit-hacks-header-file/

gamma or log gamma function in C or C [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 seeking a C or C++ version of gamma and log gamma functions.
Are there any code pieces or libraries recommended?
If possible, I want to know the principle of the implementations.
Thank you!!!
In c++11, you can use std::lgamma for log gamma, and tgamma for gamma.
If you can't use C++11: The GNU GSL has all Gamma function you would ever need: http://www.gnu.org/software/gsl/manual/html_node/Gamma-Functions.html#index-gsl_005fsf_005flngamma-583
Or you can have a look at boost's math special functions:
http://www.boost.org/doc/libs/1_53_0/libs/math/doc/sf_and_dist/html/math_toolkit/special/sf_gamma/lgamma.html
You can try to have a look at Numerical Recipes In C, it should contain the functions you need.

Particle library [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
maybe someone knows a good crossplatform particle library?
I know Pyro particle library, but it's not crossplaftorm and free. There is also Magic Particles (Probably, the best version I need) but there is only theoretical possibility to make a port on Linux.
I'm not sure how good it is, but I remember seeing a post on www.gamedev.net on a open source particle engine written in C++. It appears to be graphics-library agnostic, so you should be able to easily port it to whatever platform you are interested in.
Here's a link:
http://sourceforge.net/projects/sparkengine/