LSSTApplications
10.0+286,10.0+36,10.0+46,10.0-2-g4f67435,10.1+152,10.1+37,11.0,11.0+1,11.0-1-g47edd16,11.0-1-g60db491,11.0-1-g7418c06,11.0-2-g04d2804,11.0-2-g68503cd,11.0-2-g818369d,11.0-2-gb8b8ce7
LSSTDataManagementBasePackage
|
Demonstrate the use of Statistics; the code's in statistics.cc.
Start by including needed headers and declaring namespace aliases
NaN
is returned. Here's another way to do the same thing. We use makeStatistics
(cf. std::make_pair
) to avoid having to specify what sort of Statistics
we're creating (and in C++0X you'll be able to say
which means that we never have to provide information that the compiler has up its sleeve — very convenient for generic template programming)
std::pair
Don't ask for things that you didn't request.