grogu package
Submodules
grogu.example module
grogu.jij module
grogu.useful module
- grogu.useful.add(x, y)[source]
The sum of two numbers for testing.
This function adds to numbers together. I only created this for testing documentation and examples.
- Parameters:
x (float) – First number
y (float) – Second number added to x
- Returns:
sum – The sum of the inputs
- Return type:
int
See also
numpy.add
Adds more than two numbers.
Notes
We can create some latex notes here [1] :
\[a + b = c\]References
Examples
>>> add(1, 2) 3
- grogu.useful.make_atran(nauc, dirs='xyz', dist=1)[source]
Simple pair generator. Depending on the value of the dirs argument sampling in 1,2 or 3 dimensions is generated. If dirs argument does not contain either of x,y or z a single pair is returend.