Questions tagged [c++]

C++ is a compiled general-purpose programming language. Use this tag for any on-topic question that (a) involves C++ either as a critical part of the question or expected answer, & (b) is not just about how to use C++.

C++ is a compiled general-purpose programming language. It was developed by Bjarne Stroustrup as a set of extensions to the C programming language. C++ improved type-safety and added support for object-orientation, generic programming, exception handling, automatic resource management, and some other features.

Reference: Wikipedia entry on C++

47 questions
1
vote
2 answers

How to use gsl_linalg_cholesky_ decomp to composite the lower triangular matrix?

As we know, Cholesky decomposition of $A = L*L^T$. I tried to write a simple function to decompose the lower triangular matrix $L$. I know there is a C++ function of GSL/gsl_linalg_cholesky_ decomp that can do it. I read its manual but I do not…
0
votes
0 answers

How to fit a gaussian curve to data for a goodness-of-fit C++?

I've given a dataset of N samples like: (x,y) (-100,1), (-90, 30), (-50,60), (-10,90), (0,100), (10, 90), (30, 20),(100,4) Now I would like to determine how well the data fits a perfect gaussian (normal) distribution. For that reason, I want to fit…
Sean M.