Skip to content
#

julialang

julia logo

Julia is a high-level dynamic programming language designed to address the needs of high-performance numerical analysis and computational science. It provides a sophisticated compiler, distributed parallel execution, numerical accuracy, and an extensive mathematical function library.

Here are 409 public repositories matching this topic...

LianGentleWind
LianGentleWind commented Apr 21, 2022

The example is simple:

using DynamicalSystems

function route(dx, x, p, t)
    dx[1] =  1im * ( p[1] * x[1] - 2 * real(x[2]) * x[1] - 0.5) - 0.05 * x[1]
    dx[2] = -1im * (0.75 * abs(x[1])^2 + x[2]) - 0.0005* x[2]
end

ds = DiscreteDynamicalSystem(route, ComplexF64[0, 0], [1])

Was trying to define a Dynamical system. And:

ArgumentError: Cannot create a dual over scalar t
AayushSabharwal
AayushSabharwal commented Apr 29, 2022
function add_agent!(A::Type{<:AbstractAgent}, model::ABM, properties...; kwargs...)
    add_agent!(random_position(model), A, model, properties...; kwargs...)
end

It appears this signature of add_agent! (L294 in space_interaction_API.jl) can't be used with nothing space

MWE:

mutable struct Agent1 <: AbstractAgent
    id::Int
end
model = ABM(Agent1)
add_age
bug good first issue
HarrisonGrodin
HarrisonGrodin commented Aug 14, 2018

We should be able to attach names to rules, so that normalization steps (and error messages?) can be better understood by users. For example:

normalize(@term(diff(x + y, x)))
 - @term(diff(x,x) + diff(y,x)) by sum rule in differentiation
 - @term(one(x) + diff(y, x)) by linear rule of differentiation
 - @term(1 + diff(y, x)) by multiplicative identity of a number
 - @term(1 + zero(x)) 
feature good first issue

Created by Jeff Bezanson, Stefan Karpinski, Viral B. Shah, Alan Edelman

Released February 14, 2012

Organization
JuliaLang
Website
julialang.org
Wikipedia
Wikipedia

Related Topics

language