Dedekind 0.0.0
A structuralist C++23 Module Library
Loading...
Searching...
No Matches
dedekind::analysis::HarmonicOscillator< R > Struct Template Referenceexport

Concrete Hamiltonian carrier for the 1-D harmonic oscillator. More...

Collaboration diagram for dedekind::analysis::HarmonicOscillator< R >:

Public Member Functions

constexpr R energy (const PhasePoint< R > &state) const

Public Attributes

R ω = R{1}

Detailed Description

template<std::floating_point R>
struct dedekind::analysis::HarmonicOscillator< R >

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.


The documentation for this struct was generated from the following file: