Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 04-13-2009, 04:34 AM   #1
Registered: Oct 2004
Location: Tartu, Ċrhus,Nürnberg, Europe
Distribution: Debian, Ubuntu, Puppy
Posts: 619

Rep: Reputation: 45
c++ container math


I have a STL container (e.g. set) containing numbers (doubles) and I like to do some simple math with them like to take the mean and variance, and eventually do some more stuff (like adding/multiplying elementwise). It is pretty easy to implement, but for some reason I feel like reinventing the wheel...

There must be libraries available for this stuff, aren't they? Any idea?
Old 04-13-2009, 10:33 PM   #2
Senior Member
Registered: Nov 2005
Location: Hanoi
Distribution: Fedora 13, Ubuntu 10.04
Posts: 2,379

Rep: Reputation: 148Reputation: 148
Check out the Boost library


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
PPTPclient in openVZ container laurens Linux - Newbie 0 03-24-2009 09:32 AM
Container l_leonard Solaris / OpenSolaris 2 05-30-2007 11:24 PM
New to JSP and the Tomcat Container PATFRA Programming 1 06-28-2006 07:37 PM
math program that I can enter math functions ... Four General 5 04-19-2006 08:02 PM
Qworkspace? and container? kalleanka Programming 0 03-01-2004 05:14 AM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 08:09 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration