-- define function
local function fc(x)
return math.cos(x)
end
local function fs(x)
return math.sin(x)
end
plot({f=fs,x={0.5,4},p=20,r=1,w=1,c=2},
{f=fc,x={1,5},c=1,r=1,w=1})
On building an integrated QuantLib/Lua platform on the world's most popular computer.
No comments:
Post a Comment