Ce serveur Gitlab sera éteint le 30 juin 2020, pensez à migrer vos projets vers les serveurs gitlab-research.centralesupelec.fr et gitlab-student.centralesupelec.fr !

Commit 10970ee1 authored by Dahua Lin's avatar Dahua Lin

add constants.jl

parent 8e369e2d
......@@ -152,6 +152,8 @@ typealias NonMatrixDistribution Union(UnivariateDistribution, MultivariateDistri
typealias DiscreteDistribution Union(DiscreteUnivariateDistribution, DiscreteMultivariateDistribution)
typealias ContinuousDistribution Union(ContinuousUnivariateDistribution, ContinuousMultivariateDistribution)
include("constants.jl")
include("fallbacks.jl")
include("rmath.jl")
......
# Useful math constants for distributions
import Base.@math_const
@math_const √2 1.4142135623730950488 sqrt(big(2.))
@math_const log2π 1.8378770664093454836 log(big(2.)*π)
@math_const √2π 2.5066282746310005024 sqrt(big(2.)*π)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment