John
arbitrandomuser.bsky.social
John
@arbitrandomuser.bsky.social
JuliaLang,
its neat that default arguments values in #julialang can be computed from other argument values.

you can have a whole bunch of code to define the default argument in the function signature itself.
January 27, 2025 at 5:05 AM
you can also speed up your broadcasted code with DontMaterialize.jl , this gives identical perfor
December 19, 2024 at 10:05 AM
if you want more sugary syntax you can use pipes ,

also a small correction in the above code is the output of diff is 1 element a Vector of Vectors and abs. will fail on it .
December 3, 2024 at 5:34 AM
There's two kinds of maths wizardry that you come across, one you see and know is beyond your skill ingenuity and the other is simple and obvious and yet leaves you wondering why you never thought of it before .
December 1, 2024 at 9:42 PM