|
Dedekind 0.0.0
A structuralist C++23 Module Library
|
Concrete Hamiltonian carrier for the 1-D harmonic oscillator. More...

Public Member Functions | |
| constexpr R | energy (const PhasePoint< R > &state) const |
Public Attributes | |
| R | ω = R{1} |
Concrete Hamiltonian carrier for the 1-D harmonic oscillator.
H(q, p) = ½ (p² + ω² q²) with unit mass. Provides the minimal .energy(state) -> R surface required by IsHamiltonian. Pinned here so the concept is witnessed by a concrete carrier and not just a contract in the abstract.