November 2018
Intermediate to advanced
460 pages
14h 1m
English
To see how functional programming works in Julia, observe the following steps:
function deriv(f::Function)::Function h = √eps() f1(x) = (f(x+h)-f(x))/h return f1end
using UnicodePlotsf(x) = 2x*x + 5x - 4;x = -5:3;
plot = lineplot(x, f.(x), width=45, height=15, canvas=DotCanvas, name="f(x)"Read now
Unlock full access