quemb.shared.helperΒΆ
Functions
|
Add a docstring to a function as decorator. |
|
Add a sensible docstring to the __init__ method of an attrs class |
Copy docstring from another function as decorator. |
|
|
|
|
This function can be used instead of |
|
Return the sum \(\sum_{i=1}^n i\) |
Do stack inspection shenanigan to obtain the name of the calling function |
|
|
Return the number of unique ERIs but allowing different number of orbitals. |
|
Decorator to make a class jit-able. |
|
|
|
Type-safe jit wrapper that caches the compiled function |
|
Flatten the index a, b assuming row-mayor/C indexing |
|
Flatten the index a, b assuming column-mayor/Fortran indexing |
|
Flatten the index a, b assuming symmetry. |
|
Return the number of unique elements in a symmetric matrix of different row and column length |
|
Merge multiple sequences into a single |
|
Classes
|
Simple class to time code execution |