Evaluates the log normal probability density function.
Controller: CodeCogs
Contents
Interface
C++
Excel
doublePDF( | double | x | |
double | m | ||
double | s | )[inline] |
MISSING IMAGE!
1/lognormal_pdf-378.png cannot be found in /users/1/lognormal_pdf-378.png. Please contact the submission author.
Example 1
#include <iostream> #include <codecogs/stats/dists/continuous/lognormal/pdf.h> int main() { std::cout << "log normal PDF (10.3, 2, 5) = "; std::cout << Stats::Dists::Continuous::LogNormal::PDF(10.3, 2, 5) << std::endl; return 0; }
Output:log normal PDF (10.3, 2, 5) = 0.00772938
Authors
- Lucian Bentea (September 2005)
Source Code
Source code is available when you agree to a GP Licence or buy a Commercial Licence.
Not a member, then Register with CodeCogs. Already a Member, then Login.