5.25. utilsΒΆ
Linear algebra calculation utilities.
Classes
Base eminus class that implements some shared functionalities. |
Functions
Calculate real spherical harmonics from cartesian coordinates. |
|
Add a and b together, when one or both can potentially be None. |
|
Get the valence charges for a list of chemical symbols from GTH files. |
|
Efficiently calculate the expression a * b. |
|
Generate a cell for given lattice vectors. |
|
Handle k-points calculating the function for each channel with different modes. |
|
Handle spin calculating the function for each channel separately. |
|
Expand a chemical formula to a list of chemical symbols. |
|
Lehmer random number generator, following MINSTD. |
|
Calculate the angle between two vectors. |