Vertica documentation is moving! Use our new documentation site at https://docs.rocketsoftware.com/bundle/vertica_24.1/page/index.html
You can find more UDx examples in the Vertica Github repository, https://github.com/vertica/UDx-Examples.