Scaffolding  0.1
This program can assemble genome scaffolds using the pairing information in paired-end reads.
Public Member Functions | Public Attributes | List of all members
scaffold::normal_distribution Struct Reference

normal distribution centered with given mean and standard deviation (makes heavy use of std::erf()) More...

#include <normal_distribution.hpp>

Public Member Functions

 normal_distribution (const float _std_deviation, const float _mean=0)
 constructor
 
bool is_valid () const
 a normal distribution is valid iff its standard distribution is non-0
 
float probability (float x) const
 compute the probability to pick x under the normal distribution centered at mean with standard deviation
 
float prob_distance_to_mean_at_most (const float x) const
 compute the probability to pick something whose distance to the mean is at most x
 
float prob_of_picking_at_least (const float x) const
 compute the probability to pick a value of at least x
 

Public Attributes

const float mean
 
const float std_deviation
 

Detailed Description

normal distribution centered with given mean and standard deviation (makes heavy use of std::erf())


The documentation for this struct was generated from the following file: