Theoretical and experimental results and code examples