title: C++ function to find max value in an array of doubles?
body: <p>I frequently find myself writing max value functions that search through an array of doubles I use functions like these to normalize data before graphic display. </p>
  
  <p>Is there a better way to find the max value of an array of doubles? Is there a standard function to find the max value in an array? Are there some intrinsic for this operation? I remember specialized ASM instruction existed in DSP chips.  </p>