#ifndef FUNC_PHI_H_ #define FUNC_PHI_H_ #include /** * @short Standard normal distribution function * @see Probit *
 * p <- phi(x)
 * probit(p) <- x
 * p = Prob(X < x) where X ~ N(0,1)
 * 
*/ class Phi:public InverseLinkFunc { public: Phi (); double eval (std::vector < SArray const *>const &args) const; double link(double mu) const; double gradLink(double mu) const; }; #endif /* FUNC_PHI_H_ */