On building an integrated QuantLib/Lua platform on the world's most popular computer.

Tuesday, June 11, 2013

Small fix for an example script

The script "UserScripts/Graphics/Function" has a small bug. It should be


-- 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})

No comments:

Post a Comment

Followers