faster standard deviation

This is a discussion on faster standard deviation within the C++ Programming forums, part of the General Programming Boards category; I was just wondering has any one used look up tables to calculate the standard deviation the only reason i ...

  1. #1
    Registered User
    Join Date
    Aug 2004
    Posts
    19

    faster standard deviation

    I was just wondering has any one used look up tables to calculate the standard deviation

    the only reason i ask is the processing overhead of the square root

  2. #2
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826
    Quote Originally Posted by sononix
    I was just wondering has any one used look up tables to calculate the standard deviation
    According to Google, it appears someone has. Naturally I didn't feel inspired enough to read all the links for you, since I already slaved away for long hours under a blistering sun pressing the search button after typing four whole words!

    Quzah.
    Hope is the first step on the road to disappointment.

  3. #3
    Registered User
    Join Date
    Jul 2004
    Posts
    222
    Quote Originally Posted by sononix
    I was just wondering has any one used look up tables to calculate the standard deviation

    the only reason i ask is the processing overhead of the square root
    Is the standard deviation that you're talking about related to statistics or is it related to something else?

  4. #4
    C++ Developer XSquared's Avatar
    Join Date
    Jun 2002
    Location
    Ontario, Canada
    Posts
    2,718
    Quzah: WIth all this recent sarcsam, you're starting to sound more and more like Prelude. You sure you two aren't related?
    Naturally I didn't feel inspired enough to read all the links for you, since I already slaved away for long hours under a blistering sun pressing the search button after typing four whole words! - Quzah

    You. Fetch me my copy of the Wall Street Journal. You two, fight to the death - Stewie

  5. #5
    Registered User manofsteel972's Avatar
    Join Date
    Mar 2004
    Posts
    317
    I for one appreciate Quzah's candor. It is nice to have someone to tell you the answer. But it is even better if the person can do a little work on their own. Perhaps they should have a thread that teaches research techniques on the web. I find a lot of the answers to people's questions not because I know the answer but because I looked it up. Granted if Quzah is fed up with answering question's he doesn't have to reply at all. The only problem with research on the web is that you do tend to get a variety of websites that carry information but you have to sort it all out to find what is relevant. And not all of the information is correct. I am sure there are plenty of outdated tutorials that still use #include.h and a variety of other archaic, non-standard, and outmoded snippets of code. But for the most part you can still find the answer with a little WORK. But I don't think that discouraging people who ask questions is the answer. No one is forcing you to answer the question. Has anyone ever asked you for directions at a gas station? Granted they could buy a map or an Atlas. With a little work they could arrive at their destination, but sometimes it is easier to just ask.
    "Knowledge is proud that she knows so much; Wisdom is humble that she knows no more."
    -- Cowper

    Operating Systems=Slackware Linux 9.1,Windows 98/Xp
    Compilers=gcc 3.2.3, Visual C++ 6.0, DevC++(Mingw)

    You may teach a person from now until doom's day, but that person will only know what he learns himself.

    Now I know what doesn't work.

    A problem is understood by solving it, not by pondering it.

    For a bit of humor check out xkcd web comic http://xkcd.com/235/

  6. #6
    C++ Developer XSquared's Avatar
    Join Date
    Jun 2002
    Location
    Ontario, Canada
    Posts
    2,718
    I wasn't complaining. They both provide correct information, and they both make me snicker while doing so. I rather like it.
    Naturally I didn't feel inspired enough to read all the links for you, since I already slaved away for long hours under a blistering sun pressing the search button after typing four whole words! - Quzah

    You. Fetch me my copy of the Wall Street Journal. You two, fight to the death - Stewie

  7. #7
    Registered User
    Join Date
    Aug 2003
    Posts
    470
    The square root at the end doesn't take time proportional to the number of elements. So I think what's going to slow the calculation is finding the mean and the summation of the squares of differences.

  8. #8
    1479
    Join Date
    Aug 2003
    Posts
    253
    Quote Originally Posted by manofsteel972
    With a little work they could arrive at their destination, but sometimes it is easier to just ask.
    I agree with this. I am still a begginer and all to often people tell me to google for the answer or clues to the answer. But the biggest problem us newbs face is knowing 'what to google for'.
    Knowledge is power and I want it all

    -0RealityFusion0-

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Standard C++ API
    By sparks in forum C++ Programming
    Replies: 9
    Last Post: 08-26-2005, 06:35 PM
  2. Abstract Base Class and References
    By Thantos in forum C++ Programming
    Replies: 9
    Last Post: 10-13-2004, 02:35 PM
  3. Floating point faster than fixed-point
    By VirtualAce in forum A Brief History of Cprogramming.com
    Replies: 5
    Last Post: 11-08-2001, 11:34 PM
  4. loops and I/O file.
    By Unregistered in forum C++ Programming
    Replies: 3
    Last Post: 09-09-2001, 10:41 AM
  5. standard language, standard compiler?
    By doubleanti in forum A Brief History of Cprogramming.com
    Replies: 8
    Last Post: 09-03-2001, 05:21 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21