(self, points)
return origins, hyperplanes, simplices
Return the linear weights associated with points.

        Parameters
        ----------
        points : 2d array
            Each row represents one point

        Returns
        -------
        weights : ndarray
            An array that contains the linear weights for each point.
        hyperplanes : ndarray
            The corresponding hyperplane objects.
        simplices : ndarray
            The indices of the simplices associated with each points
Return the linear weights associated with points.
Return the linear weights associated with points .
def _get_hyperplanes(self, points):
        """Return the linear weights associated with points.

        Parameters
        ----------
        points : 2d array
            Each row represents one point

        Returns
        -------
        weights : ndarray
            An array that contains the linear weights for each point.
        hyperplanes : ndarray
            The corresponding hyperplane objects.
        simplices : ndarray
            The indices of the simplices associated with each points

        """
        simplex_ids = self.tri.find_simplex(points)

        simplices = self.tri.simplices(simplex_ids).astype(np.int64)
        origins = self.tri.discretization.index_to_state(simplices[:, 0])

        # Get hyperplane equations
        simplex_ids %= self.tri.triangulation.nsimplex
        hyperplanes = self.tri.hyperplanes[simplex_ids]

        # Pre-multiply each hyperplane by (point - origin)
        return origins, hyperplanes, simplices
def _get_hyperplanes ( self , points ) : simplex_ids = self . tri . find_simplex ( points ) simplices = self . tri . simplices ( simplex_ids ) . astype ( np . int64 ) origins = self . tri . discretization . index_to_state ( simplices [ : , 0 ] ) # Get hyperplane equations simplex_ids %= self . tri . triangulation . nsimplex hyperplanes = self . tri . hyperplanes [ simplex_ids ] # Pre-multiply each hyperplane by (point - origin) return origins , hyperplanes , simplices