_AbstractMassMatrix#
- class hmclab.MassMatrices._AbstractMassMatrix[source]#
Bases:
abc.ABC
Abstract base class for mass matrices.
Defines all required methods for derived classes.
- __init__()#
Methods
create_default
full_name
generate_momentum
Abstract method for computing kinetic energy for a given momentum.
Abstract method for computing kinetic energy gradient for a given momentum.
Attributes
dimensions
name
rng