(self)
Compute the simplex hyperplane parameters on the triangulation.
Compute the simplex hyperplane parameters on the triangulation.
Compute the simplex hyperplane parameters on the triangulation .
def _update_hyperplanes(self):
        """Compute the simplex hyperplane parameters on the triangulation."""
        self.hyperplanes = np.empty((self.triangulation.nsimplex,
                                     self.input_dim, self.input_dim),
                                    dtype=config.np_dtype)

        # Use that the bottom-left rectangle has the index zero, so that the
        # index numbers of scipy correspond to ours.
        for i, simplex in enumerate(self.unit_simplices):
            simplex_points = self.discretization.index_to_state(simplex)
            self.hyperplanes[i] = np.linalg.inv(simplex_points[1:] -
                                                simplex_points[:1])
def _update_hyperplanes ( self ) : self . hyperplanes = np . empty ( ( self . triangulation . nsimplex , self . input_dim , self . input_dim ) , dtype = config . np_dtype ) # Use that the bottom-left rectangle has the index zero, so that the # index numbers of scipy correspond to ours. for i , simplex in enumerate ( self . unit_simplices ) : simplex_points = self . discretization . index_to_state ( simplex ) self . hyperplanes [ i ] = np . linalg . inv ( simplex_points [ 1 : ] - simplex_points [ : 1 ] )