main.cpp
#include <iostream> #include "matlib.h" using namespace std; int main() { cout << "normcdf(1.96)=" << normcdf(1.96) << "\n"; cout << "norminv(0.975)=" << norminv(0.975) << "\n"; return 0; }
Downloads: Visual Studio 2012, Visual Studio 2013+, Unix, XCode, Other.
#include <iostream> #include "matlib.h" using namespace std; int main() { cout << "normcdf(1.96)=" << normcdf(1.96) << "\n"; cout << "norminv(0.975)=" << norminv(0.975) << "\n"; return 0; }