This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using LinearAlgebra, Random, Statistics | |
using SpecialFunctions: erf, erfinv | |
using Primes: Primes | |
using BenchmarkTools | |
using MvNormalCDF: MvNormalCDF | |
using Test | |
# implements https://www.math.wsu.edu/faculty/genz/papers/mvn.pdf | |
# with the addition of quasi-monte carlo point sampling | |
# as discussed in the Genz's book and implemented in MvNormalCDF.jl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using TestImages, Images, Arrow, ImageInTerminal | |
# img = testimage("cameraman") | |
# img = testimage("airplaneF16") | |
img = testimage("autumn_leaves") | |
_arrowname(::Type{Gray}) = Symbol("JuliaLang.Gray") | |
_arrowname(::Type{RGB}) = Symbol("JuliaLang.RGB") | |
_arrowname(::Type{RGBA}) = Symbol("JuliaLang.RGBA") |