use crate::binding::PyDpResult;
use crate::binding::sequence::types::PyTrajectoryType;
use pyo3::prelude::*;
use pyo3_stub_gen::{define_stub_info_gatherer, derive::gen_stub_pyfunction};
#[gen_stub_pyfunction]
#[pyfunction(signature = (t1, t2, use_full_matrix=false))]
pub fn edwp<'py>(
#[gen_stub(override_type(type_repr="typing.List[typing.List[float]] | numpy.ndarray", imports=("typing", "numpy")))]
t1: &Bound<'py, PyAny>,
#[gen_stub(override_type(type_repr="typing.List[typing.List[float]] | numpy.ndarray", imports=("typing", "numpy")))]
t2: &Bound<'py, PyAny>,
use_full_matrix: bool,
) -> PyResult<PyDpResult> {
let traj1 = PyTrajectoryType::try_from(t1)?;
let traj2 = PyTrajectoryType::try_from(t2)?;
let result = crate::distance::edwp::edwp(&traj1, &traj2, use_full_matrix);
Ok(PyDpResult { inner: result })
}
define_stub_info_gatherer!(stub_info);