Skip to main content

sobolev_norm

Function sobolev_norm 

Source
pub fn sobolev_norm(f: &[f64], df: &[f64], dx: f64, s: f64) -> f64
Expand description

Compute an approximate H^s Sobolev norm ‖f‖_{H^s}.

Uses the discrete approximation ‖f‖²_{H^s} = ‖f‖²_{L²} + s·‖f'‖²_{L²} where f' is supplied as df and s is the Sobolev order parameter.