Rosetta  2020.37
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Namespaces | Macros | Typedefs | Functions | Variables
functions.cc File Reference
#include <numeric/statistics/functions.hh>
#include <numeric/types.hh>
#include <utility/vector1.hh>
#include <utility/numbers.hh>
#include <cmath>
#include <cfloat>
#include <limits>

Namespaces

 numeric
 Unit headers.
 
 numeric::statistics
 

Macros

#define C(a, b)   cmplx(a,b)
 
#define cexp(z)   std::exp(z)
 
#define creal(z)   std::real(z)
 
#define cimag(z)   std::imag(z)
 
#define cpolar(r, t)   std::polar(r,t)
 
#define Inf   std::numeric_limits<double>::infinity()
 
#define NaN   std::numeric_limits<double>::quiet_NaN()
 

Typedefs

using cmplx = std::complex< double >
 

Functions

numeric::Real numeric::statistics::kl_divergence (utility::vector1< numeric::Real > const &prior, utility::vector1< numeric::Real > const &posterior)
 Returns the Kullback-Leibler divergence (aka relative entropy) between two discrete probability distributions. More...
 
numeric::Real numeric::statistics::corrcoef (utility::vector1< numeric::Real > const &vec1, utility::vector1< numeric::Real > const &vec2)
 
numeric::Real numeric::statistics::corrcoef_with_provided_mean_and_std_dev (utility::vector1< numeric::Real > const &vec1, numeric::Real m1, numeric::Real sd1, utility::vector1< numeric::Real > const &vec2, numeric::Real m2, numeric::Real sd2)
 
numeric::Real numeric::statistics::cov (utility::vector1< numeric::Real > const &vec1, utility::vector1< numeric::Real > const &vec2)
 
numeric::Real numeric::statistics::cov_with_provided_mean (utility::vector1< numeric::Real > const &vec1, numeric::Real m1, utility::vector1< numeric::Real > const &vec2, numeric::Real m2)
 
numeric::Real numeric::statistics::spearman_r (utility::vector1< numeric::Real > const &vec1, utility::vector1< numeric::Real > const &vec2)
 
cmplx numeric::statistics::errfcx (cmplx z, double relerr)
 
double numeric::statistics::errf (double x)
 
cmplx numeric::statistics::errf (cmplx z, double relerr)
 
cmplx numeric::statistics::errfi (cmplx z, double relerr)
 
double numeric::statistics::errfi (double x)
 
double numeric::statistics::errfc (double x)
 
cmplx numeric::statistics::errfc (cmplx z, double relerr)
 
double numeric::statistics::Dawson (double x)
 
cmplx numeric::statistics::Dawson (cmplx z, double relerr)
 
static double numeric::statistics::sinc (double x, double sinx)
 
static double numeric::statistics::sinh_taylor (double x)
 
static double numeric::statistics::sqr (double x)
 
cmplx numeric::statistics::w (cmplx z, double relerr)
 
static double numeric::statistics::erfcx_y100 (double y100)
 
double numeric::statistics::errfcx (double x)
 
static double numeric::statistics::w_im_y100 (double y100, double x)
 
double numeric::statistics::w_im (double x)
 

Variables

static const double numeric::statistics::expa2n2 []
 
static const unsigned int numeric::statistics::expa2n2_length = 52
 

Macro Definition Documentation

#define C (   a,
 
)    cmplx(a,b)

Referenced by binder::ClassBinder::add_relevant_includes(), binder::ClassBinder::bind(), binder::ClassBinder::bind_nested_classes(), binder::ClassBinder::bind_repr(), binder::ClassBinder::bind_with(), binder::ClassBinder::bindable(), numeric::kinematic_closure::radians::bridge_objects(), numeric::kinematic_closure::bridgeObjects(), numeric::alignment::QCPKernel< Real >::calc_rmsd_Theobald_method(), numeric::model_quality::COMAS(), numeric::statistics::Dawson(), numeric::kinematic_closure::dixon_sturm(), numeric::kinematic_closure::dixonResultant(), numeric::statistics::errf(), numeric::statistics::errfc(), numeric::statistics::errfcx(), numeric::statistics::errfi(), numeric::xyzTransform< numeric::Real >::from_euler_angles_deg(), binder::ClassBinder::generate_prefix_code(), binder::ClassBinder::id(), binder::is_const_overload(), binder::is_field_assignable(), binder::is_skipping_requested(), binder::ClassBinder::maybe_base_classes(), numeric::kinematic_closure::multMatrix(), numeric::kinematic_closure::multTransMatrix(), numeric::geometry::hashing::xyzStripeHashWithMeta< T >::iter_base< xyz_iterator >::operator++(), numeric::geometry::hashing::xyzStripeHash::iter_base< const_iterator >::operator++(), binder::ClassBinder::request_bindings_and_skipping(), numeric::fourier::SHT::setup_Pmls(), setup_segment_insert(), solve_nu_svr(), binder::Context::sort_binders(), numeric::kinematic_closure::test_dixon(), numeric::kinematic_closure::test_point_value2(), numeric::kinematic_closure::test_polyProduct2x2(), numeric::kinematic_closure::test_polyProduct4sq(), numeric::kinematic_closure::test_polyProduct4x2(), numeric::kinematic_closure::test_polyProduct4x4(), numeric::kinematic_closure::test_polyProduct6x6(), numeric::kinematic_closure::test_triaxialCoefficients(), numeric::kinematic_closure::triaxialCoefficients(), numeric::kinematic_closure::radians::triaxialCoefficients(), BinderVisitor::VisitCXXRecordDecl(), and numeric::statistics::w().

#define cexp (   z)    std::exp(z)
#define cimag (   z)    std::imag(z)
#define cpolar (   r,
 
)    std::polar(r,t)
#define creal (   z)    std::real(z)
#define Inf   std::numeric_limits<double>::infinity()
#define NaN   std::numeric_limits<double>::quiet_NaN()

Typedef Documentation

using cmplx = std::complex<double>