fastq_to_fasta
A template for creation of SeqAn3 apps, with a FASTQ to FASTA example app.
Classes | Functions | Variables
raptor::logspace Namespace Reference

Classes

struct  add_fn
 

Functions

double add (double const log_x, double const log_y) noexcept
 The log of a sum of two log terms. More...
 
template<typename... types>
double add (double const log_x, double const log_y, types... logs) noexcept
 The log of a sum of multiple log terms. More...
 
double substract (double const log_x, double const log_y) noexcept
 The log of a difference of two log terms. (log_x - log_y) More...
 

Variables

constexpr double ln_2 {0.693147180559945309417232121458176568L}
 
constexpr double negative_inf {-std::numeric_limits<double>::infinity()}
 

Function Documentation

◆ add() [1/2]

double raptor::logspace::add ( double const  log_x,
double const  log_y 
)
inlinenoexcept

The log of a sum of two log terms.

◆ add() [2/2]

template<typename... types>
double raptor::logspace::add ( double const  log_x,
double const  log_y,
types...  logs 
)
noexcept

The log of a sum of multiple log terms.

◆ substract()

double raptor::logspace::substract ( double const  log_x,
double const  log_y 
)
inlinenoexcept

The log of a difference of two log terms. (log_x - log_y)

Variable Documentation

◆ ln_2

constexpr double raptor::logspace::ln_2 {0.693147180559945309417232121458176568L}
constexpr

◆ negative_inf

constexpr double raptor::logspace::negative_inf {-std::numeric_limits<double>::infinity()}
constexpr