By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,255 Members | 2,773 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,255 IT Pros & Developers. It's quick & easy.

Arithmatic functions in c++

bajajv
100+
P: 152
Hi,
I have to implement some maths functions.
Just wanted to know that is there any library in c++ which contains arithmatic functions like min, max, average, count, means and deviations?
Or do I need to implement them all?
Sep 24 '10 #1
Share this Question
Share on Google+
1 Reply


Banfa
Expert Mod 5K+
P: 8,916
Depends how you hold your data, the algorithm functional and numeric headers declare functions and templates that can be of use calculating this sort of thing using functors (functional objects). But then tend to work on STL containers.

And of course the is the old c maths library (cmath header) which contains some raw maths functions, trig and exponential).
Sep 24 '10 #2

Post your reply

Sign in to post your reply or Sign up for a free account.