theta function

Function theta