C++ Matrix Class
nota bene. This answer has 20 upvotes now, but it is not intended as an endorsement of std::valarray. In my experience, time is better spent installing and learning to use a full-fledged math library such as Eigen. Valarray has fewer features than the competition, but it isn’t more efficient or particularly easier to use. If … Read more