Special-Function Photointegrated Circuits