fix gauss tests
This commit is contained in:
parent
cba0d34f99
commit
0b1a5ad3af
3 changed files with 40 additions and 33 deletions
|
|
@ -3,11 +3,7 @@ import Test: @test, @testset
|
|||
import TaylorTest
|
||||
|
||||
import SpecialFunctions: erf
|
||||
|
||||
function gauss(p::Vector{Float64}; x::Float64=0.0)
|
||||
λ, μ, σ = p
|
||||
return λ / sqrt(2π * σ^2) * exp(-((x - μ) / σ)^2)
|
||||
end
|
||||
import TensorOperations as TO
|
||||
|
||||
include("trig_functions.jl")
|
||||
include("gauss.jl")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue