LSSTApplications
10.0-2-g4f67435,11.0.rc2+1,11.0.rc2+12,11.0.rc2+3,11.0.rc2+4,11.0.rc2+5,11.0.rc2+6,11.0.rc2+7,11.0.rc2+8
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.