pyPDAF.PDAF.diag_rmsd_nompi¶
- pyPDAF.PDAF.diag_rmsd_nompi(dim_p: int, statea_p: np.ndarray, stateb_p: np.ndarray) Tuple[float, int]¶
Compute the root mean squared distance between two vectors without MPI.
- Parameters:
dim_p (int) – state dimension
statea_p (ndarray[np.float64, ndim=1]) – State vector A Array shape: (dim_p)
stateb_p (ndarray[np.float64, ndim=1]) – State vector B Array shape: (dim_p)
- Returns:
rmsd_p (double) – RSMD
status (int) – Status flag (0=success)