sosiristseng / jl-things Goto Github PK
View Code? Open in Web Editor NEWJulia things monorepo
Home Page: https://sosiristseng.github.io/jl-things/
License: MIT License
Julia things monorepo
Home Page: https://sosiristseng.github.io/jl-things/
License: MIT License
Because catalyst right now is dependent on MTK v8, while MTK is v9 now.
Agents.abmvideo(
"flocking.mp4", model, agent_step!;
am = bird_marker,
framerate = 20, frames = 200,
figure = (size = (600, 600),),
title = "Flocking"
)
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
This repository currently has no open or pending branches.
env.Dockerfile
julia 1.10.0
python 3.12.1-slim
.github/workflows/ci.yml
actions/checkout v4
actions/download-artifact v4
actions/setup-python v5
actions/cache v4
actions/upload-pages-artifact v3
actions/deploy-pages v4
.github/workflows/execute.yml
actions/checkout v4
docker/login-action v3
actions/checkout v4
actions/cache v4
actions/cache v4
actions/upload-artifact v4
.github/workflows/linkcheck.yml
actions/checkout v4
actions/setup-python v5
actions/cache v4
.github/workflows/update-manifest.yml
actions/checkout v4
tibdex/github-app-token v2
peter-evans/create-pull-request v6
requirements.txt
jupyter-book ==1.0.0
Sometimes notebooks have no outputs.
Caching bugs?
To use the solution interface with LabelledArrays and ComponentArrays
using LabelledArrays
using DifferentialEquations
using SimpleUnPack
using Plots
## SIR model, in-place form: f!(du, u, p ,t)
function sir!(D, u, p ,t)
@unpack s, i, r = u
@unpack β, γ = p
v1 = β * s * i
v2 = γ * i
D.s = -v1
D.i = v1 - v2
D.r = v2
return nothing
end
# Parameters, initial conditions, and time span of the SIR model
p = LVector(β = 1.0, γ = 0.3)
u0 = LVector(s=0.99, i=0.01, r=0.00)
tspan = (0.0, 20.0)
prob = ODEProblem(sir!, u0, tspan, p) ## Define the problem
sol = solve(prob) ## Solve the problem
sol(0.:1.:20.)[:s] ## Error
plot(sol, idxs=(:s, :i)) ## Works?!
# Let's fix it
f = ODEFunction(sir!, syms=keys(u0), paramsyms=keys(p))
prob = ODEProblem(f, u0, tspan, p) ## Define the problem
sol = solve(prob) ## Solve the problem
sol(0.:1.:20.)[:s] ## Works
plot(sol, idxs=(:s, :i)) ## Works
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.