pub trait QuantumPotential: Send + Sync {
// Required method
fn evaluate(&self, x: f64) -> f64;
// Provided method
fn evaluate_array(&self, x: &ArrayView1<'_, f64>) -> Array1<f64> { ... }
}Expand description
Quantum potential trait
Required Methods§
Provided Methods§
Sourcefn evaluate_array(&self, x: &ArrayView1<'_, f64>) -> Array1<f64>
fn evaluate_array(&self, x: &ArrayView1<'_, f64>) -> Array1<f64>
Evaluate potential for array of positions