Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor kron_pow #527

Merged
merged 2 commits into from
Jul 9, 2021
Merged

Refactor kron_pow #527

merged 2 commits into from
Jul 9, 2021

Conversation

schillic
Copy link
Member

@schillic schillic commented Jul 9, 2021

julia> using ReachabilityAnalysis

julia> H = Hyperrectangle(low=[0.9, -0.1], high=[1.1, 0.1])
Hyperrectangle{Float64, Vector{Float64}, Vector{Float64}}([1.0, 0.0], [0.10000000000000009, 0.1])

julia> convert(IntervalBox, ReachabilityAnalysis.kron_pow(H, 2))
[0.81, 1.21001] × [-0.110001, 0.110001] × [-0.110001, 0.110001] × [-0.0100001, 0.0100001]

julia> using DynamicPolynomials

julia> convert(IntervalBox, ReachabilityAnalysis.kron_pow(H, 2))
[0.81, 1.21001] × [-0.110001, 0.110001] × [-0.110001, 0.110001] × [0, 0.0100001]

@schillic schillic requested a review from mforets July 9, 2021 11:24
@mforets mforets merged commit 7db54eb into master Jul 9, 2021
@mforets mforets deleted the schillic/kron branch July 9, 2021 12:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants