Skip to content

Add PseudoHamiltonianVectorField data type#507

Merged
ocots merged 1 commit into
mainfrom
feat/pseudo-hamiltonian-vector-field
Jul 24, 2026
Merged

Add PseudoHamiltonianVectorField data type#507
ocots merged 1 commit into
mainfrom
feat/pseudo-hamiltonian-vector-field

Conversation

@ocots

@ocots ocots commented Jul 24, 2026

Copy link
Copy Markdown
Member

Fills the missing corner of the Data type grid: a pseudo-Hamiltonian vector field h̃vf(t,x,p,u,v) = (ẋ,ṗ) whose derivatives are supplied directly (no AD), the vector-field analogue of PseudoHamiltonian the same way HamiltonianVectorField is the analogue of Hamiltonian.

  • AbstractPseudoHamiltonianVectorField is a sibling of (not a subtype of) AbstractHamiltonianVectorField, mirroring the existing AbstractPseudoHamiltonian/AbstractHamiltonian relationship.
  • Both in-place and out-of-place, with variable-costate (dpv) support, mirroring HamiltonianVectorField exactly.

Full suite: 4882/4882. Tracks #506.

Fills the missing corner of the Data type grid: a pseudo-Hamiltonian
vector field h̃vf(t,x,p,u,v) = (ẋ,ṗ) whose derivatives are supplied
directly (no AD), the vector-field analogue of PseudoHamiltonian the
same way HamiltonianVectorField is the analogue of Hamiltonian.

- AbstractPseudoHamiltonianVectorField is a sibling of (not a subtype
  of) AbstractHamiltonianVectorField, mirroring the existing
  AbstractPseudoHamiltonian/AbstractHamiltonian relationship.
- Both in-place and out-of-place, with variable-costate (dpv) support,
  mirroring HamiltonianVectorField exactly.

Full suite: 4882/4882. Tracks #506.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@ocots
ocots merged commit 8213fa1 into main Jul 24, 2026
3 checks passed
@ocots
ocots deleted the feat/pseudo-hamiltonian-vector-field branch July 24, 2026 20:20
@ocots

ocots commented Jul 25, 2026

Copy link
Copy Markdown
Member Author

Closes #506.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant