Nombre del curso | Semestre dictado | Docente encargado |
---|---|---|
Álgebra Lineal Numérica | 1er semestre 2020 | Marcelo Forets |
This file contains hidden or 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 ReachabilityAnalysis | |
using ReachabilityAnalysis.TaylorModels | |
using ReachabilityAnalysis.TaylorSeries | |
using Random | |
using StatsBase | |
# ----------------- | |
# Numbers | |
# ----------------- |
This file contains hidden or 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 Plots | |
using Unitful | |
using DifferentialEquations | |
using GeneralAstrodynamics | |
using LazySets | |
# Find a periodic orbit near Earth (orbit, period) | |
Oₑ, Pₑ = halo(SunEarth; Az=100_000u"km", L=2) | |
# Find a periodic orbit near Jupiter (orbit, period) |
This file contains hidden or 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
### Code | |
```julia | |
function makie_3d_plot(scene, data::Vector{IntervalBox{3, N}}, color=nothing) where N | |
# plotting a single box in 3D doesn't work as expected | |
@assert length(data) > 1 | |
positions = [Point3f0(mid(X)) for X in data] | |
scales = [Vec3f0(diam.(X)) for X in data] |
This file contains hidden or 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
$ ./runTests.sh | |
keyfiles = | |
{ | |
[1,1] = onsasExample_staticVonMisesTruss_test.m | |
[1,2] = onsasExample_uniaxialExtension_test.m | |
[1,3] = onsasExample_uniformCurvatureCantilever_test.m | |
} | |
totalRuns = 3 |
using Plots, BenchmarkTools, StaticArrays
using Revise, ReachabilityAnalysis
const RA = ReachabilityAnalysis
include("/home/mforets/.julia/dev/ReachabilityAnalysis/test/models/hybrid/embrake.jl")
LazySets.deactivate_assertions()
function LazySets.diameter(R::ReachabilityAnalysis.AbstractLazyReachSet; vars::Int)
overapproximate(project(R, vars=vars), Interval) |> set |> diameter
end
#using Plots, BenchmarkTools, StaticArrays #using Revise, ReachabilityAnalysis #const RA = ReachabilityAnalysis include("/home/mforets/.julia/dev/ReachabilityAnalysis/test/models/hybrid/embrake.jl") LazySets.deactivate_assertions()
function LazySets.diameter(R::ReachabilityAnalysis.AbstractLazyReachSet; vars::Int) overapproximate(project(R, vars=vars), Interval) |> set |> diameter end
This file contains hidden or 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
```julia | |
using Plots, BenchmarkTools | |
using Revise, ReachabilityAnalysis | |
include("/home/mforets/.julia/dev/ReachabilityAnalysis/test/models/hybrid/embrake.jl") | |
LazySets.deactivate_assertions() | |
``` | |
## No pv no jitter | |
``` |
NewerOlder