pub fn nearest_image(&self, i: usize, j: usize) -> Vector3D {
        let mut res = self.particles.position[i] - self.particles.position[j];
        self.cell.vector_image(&mut res);
        return res;
    }
/// Get the vector between the nearest image of particle `j` with respect to
/// particle `i`.
Get the vector between the nearest image of particle `j` with respect to
particle `i`.
Get the vector between the nearest image of particle ` j ` with respect to particle ` i ` .
pub fn nearest_image(&self, i: usize, j: usize) -> Vector3D {
        let mut res = self.particles.position[i] - self.particles.position[j];
        self.cell.vector_image(&mut res);
        return res;
    }
pub fn nearest_image ( & self , i : usize , j : usize ) -> Vector3D { let mut res = self . particles . position [ i ] - self . particles . position [ j ] ; self . cell . vector_image ( & mut res ) ; return res ; }
Get the vector between the nearest image of particle `j` with respect to
particle `i`.
Get the vector between the nearest image of particle ` j ` with respect to particle ` i ` .
&self
i
usize
j
usize