statslib/3.4.0

A C++ header-only library of statistical distribution functions.
Recipe info
2023-04-25

Available packages
Header Only

Install
Add the following line to your conanfile.txt:
[requires]
statslib/3.4.0

Using statslib

Note

If you are a new Conan user, we recommend reading the how to consume packages tutorial.

If you need additional assistance, please ask a question in the Conan Center Index repository.

Simplest use case consuming this recipe and assuming CMake as your local build tool:

[requires]
statslib/3.4.0
[generators]
CMakeDeps
CMakeToolchain
[layout]
cmake_layout
from conan import ConanFile
from conan.tools.cmake import cmake_layout


class ExampleRecipe(ConanFile):
    settings = "os", "compiler", "build_type", "arch"
    generators = "CMakeDeps", "CMakeToolchain"

    def requirements(self):
        self.requires("statslib/3.4.0")

    def layout(self):
        cmake_layout(self)

Now, you can run this Conan command to locally install (and build if necessary) this recipe and its dependencies (if any):

$ conan install conanfile.txt --build=missing

Useful information to take into account to consume this library:


These are the main declared targets:

  • CMake package name(s): statslib
  • CMake target name(s): statslib::statslib
  • pkg-config file name(s): statslib.pc

A simple use case using the CMake file name and the global target:

# ...
find_package(statslib REQUIRED)
# ...
target_link_libraries(YOUR_TARGET statslib::statslib)

These are all the available headers. Some of these ones might be non-public; make sure of it by visiting the statslib homepage listed above:

#include "stats.hpp"
#include "stats_incl/dens/dbern.hpp"
#include "stats_incl/dens/dbern.ipp"
#include "stats_incl/dens/dbeta.hpp"
#include "stats_incl/dens/dbeta.ipp"
#include "stats_incl/dens/dbinom.hpp"
#include "stats_incl/dens/dbinom.ipp"
#include "stats_incl/dens/dcauchy.hpp"
#include "stats_incl/dens/dcauchy.ipp"
#include "stats_incl/dens/dchisq.hpp"
#include "stats_incl/dens/dchisq.ipp"
#include "stats_incl/dens/dens.hpp"
#include "stats_incl/dens/dexp.hpp"
#include "stats_incl/dens/dexp.ipp"
#include "stats_incl/dens/df.hpp"
#include "stats_incl/dens/df.ipp"
#include "stats_incl/dens/dgamma.hpp"
#include "stats_incl/dens/dgamma.ipp"
#include "stats_incl/dens/dinvgamma.hpp"
#include "stats_incl/dens/dinvgamma.ipp"
#include "stats_incl/dens/dinvgauss.hpp"
#include "stats_incl/dens/dinvgauss.ipp"
#include "stats_incl/dens/dinvwish.hpp"
#include "stats_incl/dens/dinvwish.ipp"
#include "stats_incl/dens/dlaplace.hpp"
#include "stats_incl/dens/dlaplace.ipp"
#include "stats_incl/dens/dlnorm.hpp"
#include "stats_incl/dens/dlnorm.ipp"
#include "stats_incl/dens/dlogis.hpp"
#include "stats_incl/dens/dlogis.ipp"
#include "stats_incl/dens/dmvnorm.hpp"
#include "stats_incl/dens/dmvnorm.ipp"
#include "stats_incl/dens/dnorm.hpp"
#include "stats_incl/dens/dnorm.ipp"
#include "stats_incl/dens/dpois.hpp"
#include "stats_incl/dens/dpois.ipp"
#include "stats_incl/dens/dradem.hpp"
#include "stats_incl/dens/dradem.ipp"
#include "stats_incl/dens/dt.hpp"
#include "stats_incl/dens/dt.ipp"
#include "stats_incl/dens/dunif.hpp"
#include "stats_incl/dens/dunif.ipp"
#include "stats_incl/dens/dweibull.hpp"
#include "stats_incl/dens/dweibull.ipp"
#include "stats_incl/dens/dwish.hpp"
#include "stats_incl/dens/dwish.ipp"
#include "stats_incl/misc/internal_fns/exp_if.hpp"
#include "stats_incl/misc/internal_fns/internal_fns.hpp"
#include "stats_incl/misc/internal_fns/log_if.hpp"
#include "stats_incl/misc/internal_fns/seed_values.hpp"
#include "stats_incl/misc/internal_fns/statslib_defs.hpp"
#include "stats_incl/misc/matrix_ops/accu.hpp"
#include "stats_incl/misc/matrix_ops/cerr.hpp"
#include "stats_incl/misc/matrix_ops/chol.hpp"
#include "stats_incl/misc/matrix_ops/cout.hpp"
#include "stats_incl/misc/matrix_ops/cumsum.hpp"
#include "stats_incl/misc/matrix_ops/det.hpp"
#include "stats_incl/misc/matrix_ops/exp.hpp"
#include "stats_incl/misc/matrix_ops/eye.hpp"
#include "stats_incl/misc/matrix_ops/fill.hpp"
#include "stats_incl/misc/matrix_ops/get_mem_ptr.hpp"
#include "stats_incl/misc/matrix_ops/get_row.hpp"
#include "stats_incl/misc/matrix_ops/inv.hpp"
#include "stats_incl/misc/matrix_ops/log.hpp"
#include "stats_incl/misc/matrix_ops/log_det.hpp"
#include "stats_incl/misc/matrix_ops/matrix_ops.hpp"
#include "stats_incl/misc/matrix_ops/mean.hpp"
#include "stats_incl/misc/matrix_ops/n_cols.hpp"
#include "stats_incl/misc/matrix_ops/n_elem.hpp"
#include "stats_incl/misc/matrix_ops/n_rows.hpp"
#include "stats_incl/misc/matrix_ops/quad_form.hpp"
#include "stats_incl/misc/matrix_ops/repmat.hpp"
#include "stats_incl/misc/matrix_ops/resize.hpp"
#include "stats_incl/misc/matrix_ops/solve.hpp"
#include "stats_incl/misc/matrix_ops/spacing.hpp"
#include "stats_incl/misc/matrix_ops/sum_absdiff.hpp"
#include "stats_incl/misc/matrix_ops/trace.hpp"
#include "stats_incl/misc/matrix_ops/trans.hpp"
#include "stats_incl/misc/matrix_ops/var.hpp"
#include "stats_incl/misc/matrix_ops/zeros.hpp"
#include "stats_incl/misc/misc.hpp"
#include "stats_incl/misc/sanity_checks/bern.hpp"
#include "stats_incl/misc/sanity_checks/beta.hpp"
#include "stats_incl/misc/sanity_checks/binom.hpp"
#include "stats_incl/misc/sanity_checks/cauchy.hpp"
#include "stats_incl/misc/sanity_checks/chisq.hpp"
#include "stats_incl/misc/sanity_checks/exp.hpp"
#include "stats_incl/misc/sanity_checks/f.hpp"
#include "stats_incl/misc/sanity_checks/gamma.hpp"
#include "stats_incl/misc/sanity_checks/invgamma.hpp"
#include "stats_incl/misc/sanity_checks/invgauss.hpp"
#include "stats_incl/misc/sanity_checks/laplace.hpp"
#include "stats_incl/misc/sanity_checks/lnorm.hpp"
#include "stats_incl/misc/sanity_checks/logis.hpp"
#include "stats_incl/misc/sanity_checks/norm.hpp"
#include "stats_incl/misc/sanity_checks/pois.hpp"
#include "stats_incl/misc/sanity_checks/prob_val.hpp"
#include "stats_incl/misc/sanity_checks/radem.hpp"
#include "stats_incl/misc/sanity_checks/sanity_checks.hpp"
#include "stats_incl/misc/sanity_checks/t.hpp"
#include "stats_incl/misc/sanity_checks/unif.hpp"
#include "stats_incl/misc/sanity_checks/weibull.hpp"
#include "stats_incl/misc/statslib_options.hpp"
#include "stats_incl/prob/pbern.hpp"
#include "stats_incl/prob/pbern.ipp"
#include "stats_incl/prob/pbeta.hpp"
#include "stats_incl/prob/pbeta.ipp"
#include "stats_incl/prob/pbinom.hpp"
#include "stats_incl/prob/pbinom.ipp"
#include "stats_incl/prob/pcauchy.hpp"
#include "stats_incl/prob/pcauchy.ipp"
#include "stats_incl/prob/pchisq.hpp"
#include "stats_incl/prob/pchisq.ipp"
#include "stats_incl/prob/pexp.hpp"
#include "stats_incl/prob/pexp.ipp"
#include "stats_incl/prob/pf.hpp"
#include "stats_incl/prob/pf.ipp"
#include "stats_incl/prob/pgamma.hpp"
#include "stats_incl/prob/pgamma.ipp"
#include "stats_incl/prob/pinvgamma.hpp"
#include "stats_incl/prob/pinvgamma.ipp"
#include "stats_incl/prob/pinvgauss.hpp"
#include "stats_incl/prob/pinvgauss.ipp"
#include "stats_incl/prob/plaplace.hpp"
#include "stats_incl/prob/plaplace.ipp"
#include "stats_incl/prob/plnorm.hpp"
#include "stats_incl/prob/plnorm.ipp"
#include "stats_incl/prob/plogis.hpp"
#include "stats_incl/prob/plogis.ipp"
#include "stats_incl/prob/pnorm.hpp"
#include "stats_incl/prob/pnorm.ipp"
#include "stats_incl/prob/ppois.hpp"
#include "stats_incl/prob/ppois.ipp"
#include "stats_incl/prob/pradem.hpp"
#include "stats_incl/prob/pradem.ipp"
#include "stats_incl/prob/prob.hpp"
#include "stats_incl/prob/pt.hpp"
#include "stats_incl/prob/pt.ipp"
#include "stats_incl/prob/punif.hpp"
#include "stats_incl/prob/punif.ipp"
#include "stats_incl/prob/pweibull.hpp"
#include "stats_incl/prob/pweibull.ipp"
#include "stats_incl/quant/qbern.hpp"
#include "stats_incl/quant/qbern.ipp"
#include "stats_incl/quant/qbeta.hpp"
#include "stats_incl/quant/qbeta.ipp"
#include "stats_incl/quant/qbinom.hpp"
#include "stats_incl/quant/qbinom.ipp"
#include "stats_incl/quant/qcauchy.hpp"
#include "stats_incl/quant/qcauchy.ipp"
#include "stats_incl/quant/qchisq.hpp"
#include "stats_incl/quant/qchisq.ipp"
#include "stats_incl/quant/qexp.hpp"
#include "stats_incl/quant/qexp.ipp"
#include "stats_incl/quant/qf.hpp"
#include "stats_incl/quant/qf.ipp"
#include "stats_incl/quant/qgamma.hpp"
#include "stats_incl/quant/qgamma.ipp"
#include "stats_incl/quant/qinvgamma.hpp"
#include "stats_incl/quant/qinvgamma.ipp"
#include "stats_incl/quant/qinvgauss.hpp"
#include "stats_incl/quant/qinvgauss.ipp"
#include "stats_incl/quant/qlaplace.hpp"
#include "stats_incl/quant/qlaplace.ipp"
#include "stats_incl/quant/qlnorm.hpp"
#include "stats_incl/quant/qlnorm.ipp"
#include "stats_incl/quant/qlogis.hpp"
#include "stats_incl/quant/qlogis.ipp"
#include "stats_incl/quant/qnorm.hpp"
#include "stats_incl/quant/qnorm.ipp"
#include "stats_incl/quant/qpois.hpp"
#include "stats_incl/quant/qpois.ipp"
#include "stats_incl/quant/qradem.hpp"
#include "stats_incl/quant/qradem.ipp"
#include "stats_incl/quant/qt.hpp"
#include "stats_incl/quant/qt.ipp"
#include "stats_incl/quant/quant.hpp"
#include "stats_incl/quant/qunif.hpp"
#include "stats_incl/quant/qunif.ipp"
#include "stats_incl/quant/qweibull.hpp"
#include "stats_incl/quant/qweibull.ipp"
#include "stats_incl/rand/rand.hpp"
#include "stats_incl/rand/rbern.hpp"
#include "stats_incl/rand/rbern.ipp"
#include "stats_incl/rand/rbeta.hpp"
#include "stats_incl/rand/rbeta.ipp"
#include "stats_incl/rand/rbinom.hpp"
#include "stats_incl/rand/rbinom.ipp"
#include "stats_incl/rand/rcauchy.hpp"
#include "stats_incl/rand/rcauchy.ipp"
#include "stats_incl/rand/rchisq.hpp"
#include "stats_incl/rand/rchisq.ipp"
#include "stats_incl/rand/rexp.hpp"
#include "stats_incl/rand/rexp.ipp"
#include "stats_incl/rand/rf.hpp"
#include "stats_incl/rand/rf.ipp"
#include "stats_incl/rand/rgamma.hpp"
#include "stats_incl/rand/rgamma.ipp"
#include "stats_incl/rand/rinvgamma.hpp"
#include "stats_incl/rand/rinvgamma.ipp"
#include "stats_incl/rand/rinvgauss.hpp"
#include "stats_incl/rand/rinvgauss.ipp"
#include "stats_incl/rand/rinvwish.hpp"
#include "stats_incl/rand/rinvwish.ipp"
#include "stats_incl/rand/rlaplace.hpp"
#include "stats_incl/rand/rlaplace.ipp"
#include "stats_incl/rand/rlnorm.hpp"
#include "stats_incl/rand/rlnorm.ipp"
#include "stats_incl/rand/rlogis.hpp"
#include "stats_incl/rand/rlogis.ipp"
#include "stats_incl/rand/rmultinom.hpp"
#include "stats_incl/rand/rmultinom.ipp"
#include "stats_incl/rand/rmvnorm.hpp"
#include "stats_incl/rand/rmvnorm.ipp"
#include "stats_incl/rand/rnorm.hpp"
#include "stats_incl/rand/rnorm.ipp"
#include "stats_incl/rand/rpois.hpp"
#include "stats_incl/rand/rpois.ipp"
#include "stats_incl/rand/rradem.hpp"
#include "stats_incl/rand/rradem.ipp"
#include "stats_incl/rand/rt.hpp"
#include "stats_incl/rand/rt.ipp"
#include "stats_incl/rand/runif.hpp"
#include "stats_incl/rand/runif.ipp"
#include "stats_incl/rand/rweibull.hpp"
#include "stats_incl/rand/rweibull.ipp"
#include "stats_incl/rand/rwish.hpp"
#include "stats_incl/rand/rwish.ipp"