Top Posts
Categories
- KDB (6)
- Pricing (4)
- Q (17)
- Q Idioms (3)
- Regression (3)
- Regular Expressions (3)
- Time Series (1)
-
Join 18 other subscribers
Archives
Tag Cloud
Blog Stats
- 73,304 hits
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