See here.
The documentation is rendered with MkDocs. Run the following commands to run the documentation locally.
pip install mkdocs mkdocs-material pygments python-markdown-math
cd /path/to/xgp
mkdocs serve
go test -bench . --cpuprofile=cpu.prof
go tool pprof --pdf xgp.test cpu.prof > profile.pdf
Most of the behavior of xgp can be determined by the user. However for various reasons some fields/numbers have to be hard-coded. When this is done the habit I took is to annotate the line of code with a // MAGIC
comment. In some cases this is due to bad design and should be fixed.
- Add to the
GP
's fields if needed - Add to the
New
method - Add to each language package
- Add to the documentation
- Order parameters alphabetically
- Respect language-specific conventions for naming