inc/hmmstats.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define logScaleFactor   1000

Functions

int scaledLog (double val)
double simpleGaussean (double x)
double gaussean (double x, double mean, double sd)


Define Documentation

#define logScaleFactor   1000

Definition at line 14 of file hmmstats.h.

Referenced by scaledLog().


Function Documentation

double gaussean ( double  x,
double  mean,
double  sd 
)

Definition at line 26 of file hmmstats.c.

References oneOverSqrtTwoPi.

00028 {
00029 x -= mean;
00030 x /= sd;
00031 return oneOverSqrtTwoPi * exp(-0.5*x*x) / sd;
00032 }

int scaledLog ( double  val  ) 

Definition at line 12 of file hmmstats.c.

References logScaleFactor, and round.

Referenced by codonLoadBias().

00014 {
00015 return round(logScaleFactor * log(val));
00016 }

Here is the caller graph for this function:

double simpleGaussean ( double  x  ) 

Definition at line 20 of file hmmstats.c.

References oneOverSqrtTwoPi.

00022 {
00023 return oneOverSqrtTwoPi * exp(-0.5*x*x );
00024 }


Generated on Tue Dec 25 19:00:33 2007 for blat by  doxygen 1.5.2