LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
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.

Notices

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

Rep: Reputation: 45
c++ container math


Hi,

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
graemef
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
 
  


Reply


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


All times are GMT -5. The time now is 10:34 AM.

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