conatus.expert.energy_factor

conatus.expert.energy_factor(op, theta_weight=None)[source]

F with ‖F x‖² = ½ Σ_comp w_comp ∫|comp|² dy (Fejér quadrature on the Chebyshev grid).

theta_weight (w_θ, 1 or N²) is required when θ is in the state; it enters as √w_θ.

Parameters:
  • op (object)

  • theta_weight (float | None)

Return type:

ndarray