Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
matthieugomez committed Dec 10, 2019
1 parent 45dcc80 commit 642f4a5
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 12 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name = "InfinitesimalGenerators"
uuid = "2fce0c6f-5f0b-5c85-85c9-2ffe1d5ee30d"
version = "0.1.0"
version = "0.1.1"

[deps]
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
Expand Down
10 changes: 5 additions & 5 deletions src/InfinitesimalGenerators.jl
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,11 @@ include("generators.jl")
include("feynman_kac.jl")

@deprecate stationary_distribution(x, μx, σx, args...) stationary_distribution(MarkovProcess(x, μx, σx))
@deprecate cgf_longrun(x, μx, σx, μM, σM; ρ = 0.0, δ = 0.0, kwargs...) cgf_longrun(MultiplicativeFunctional(MarkovProcess(x, μx, σx), μM, σM, ρ, δ); kwargs...)
@deprecate hansen_scheinkman(x, μx, σx, μM, σM; ρ = 0.0, δ = 0.0, kwargs...) hansen_scheinkman(MultiplicativeFunctional(MarkovProcess(x, μx, σx), μM, σM, ρ, δ); kwargs...)
@deprecate tail_index(x, μx, σx, μM, σM; ρ = 0.0, δ = 0.0, kwargs...) tail_index(MultiplicativeFunctional(MarkovProcess(x, μx, σx), μM, σM, ρ, δ); kwargs...)
@deprecate cgf_longrun(x, μx, σx, μM, σM; ρ = 0.0, δ = 0.0, kwargs...) cgf_longrun(MultiplicativeFunctional(MarkovProcess(x, μx, σx), μM, σM; ρ = ρ, δ = δ); kwargs...)
@deprecate hansen_scheinkman(x, μx, σx, μM, σM; ρ = 0.0, δ = 0.0, kwargs...) hansen_scheinkman(MultiplicativeFunctional(MarkovProcess(x, μx, σx), μM, σM; ρ = ρ, δ = δ); kwargs...)
@deprecate tail_index(x, μx, σx, μM, σM; ρ = 0.0, δ = 0.0, kwargs...) tail_index(MultiplicativeFunctional(MarkovProcess(x, μx, σx), μM, σM; ρ = ρ, δ = δ); kwargs...)
@deprecate feynman_kac(x, μx, σx; kwargs...) feynman_kac(MarkovProcess(x, μx, σx); kwargs...)
@deprecate feynman_kac(x, μx, σx, μM, σM; ρ = 0.0, δ = 0.0, kwargs...) feynman_kac(MultiplicativeFunctional(MarkovProcess(x, μx, σx), μM, σM; ρ = ρ, δ = δ); kwargs...)

export
MarkovProcess,
Expand All @@ -23,6 +25,4 @@ hansen_scheinkman,
cgf_longrun,
tail_index



end
7 changes: 1 addition & 6 deletions src/feynman_kac.jl
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,6 @@ function feynman_kac(x::MarkovProcess; kwargs...)
feynman_kac(generator!(x); kwargs...)
end

function feynman_kac(x::AbstractVector, μx::AbstractVector, σx::AbstractVector; kwargs...)
feynman_kac(MarkovProcess(x, μx, σx); kwargs...)
end


"""
Expand All @@ -74,6 +71,4 @@ compute `E[M_t ψ(x_t)|x_0 = x]`
function feynman_kac(M::MultiplicativeFunctional; kwargs...)
feynman_kac(generator!(M); kwargs...)
end
function feynman_kac(x::AbstractVector{<:Number}, μx::AbstractVector{<:Number}, σx::AbstractVector{<:Number}, μM::AbstractVector{<:Number}, σM::AbstractVector{<:Number}; ρ::Number = 0.0, δ::Number = 0.0, kwargs...)
feynman_kac(MultiplicativeFunctional(MarkovProcess(x, μx, σx), μM, σM; ρ = ρ, δ = δ); kwargs...)
end

3 comments on commit 642f4a5

@matthieugomez
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

JuliaRegistrator register()

@matthieugomez
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator register()

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/6489

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if Julia TagBot is installed, or can be done manually through the github interface, or via:

git tag -a v0.1.1 -m "<description of version>" 642f4a5cb1338e1953228c7d26667d4d72ae3ed5
git push origin v0.1.1

Please sign in to comment.