Tag Archives: Pi

Happy Pi Day – Calculation of Pi in q/KDB+

A minimal effort to calculate pi using q/kdb+. I have used a vector which is 200 characters long and iterated over it calculate the value of a series which can be represented as a function. pi:{sqrt 8*({x+(1%(y*y))}/[x])} pi[1+2*til 200] 3.140001 … Continue reading

Posted in Pricing, Regression | Tagged | Leave a comment