title: Inverse Chi Square Function in C#
body: <p>this is the equation of what I want to implement:</p>
  
  <p><img src="https://i.stack.imgur.com/YP6xJ.jpg" alt="chi"></p>
  
  <p>I have already made the inside up to comma. But I have really no idea how to implement C^-1 with 2n degrees of freedom, is there any function in Math class? </p>
  
  <p>Looking at the description on the wiki I am still confused like a lil kid.
  <a href="http://en.wikipedia.org/wiki/Inverse-chi-squared_distribution" rel="nofollow noreferrer">wikipedia inverse chi function</a></p>
  
  <p>I have found the Python implementation:
  <a href="http://www.linuxjournal.com/files/linuxjournal.com/linuxjournal/articles/064/6467/6467s2.html" rel="nofollow noreferrer">Python implementation of chi function</a></p>