> double
> euclideanDistance(const std::valarray<double>& kvfFrom,
> const std::valarray<double>& kvfTo)
> {
> return sqrt(pow(kvfFrom - kvfTo, 2.0).sum());
> }
[snip]
> I'm wondering if this is a bug in the 2.95.2 valarray, and if so,
> if it exists in the libstdc++-v3 valarray?
apparently not. The above compiles.
-benjamin