SciPy

This is documentation for an old release of SciPy (version 1.5.3). Read this page in the documentation of the latest stable release (version 1.15.1).

scipy.spatial.Delaunay.transform

property Delaunay.transform

Affine transform from x to the barycentric coordinates c.

Type

ndarray of double, shape (nsimplex, ndim+1, ndim)

This is defined by:

T c = x - r

At vertex j, c_j = 1 and the other coordinates zero.

For simplex i, transform[i,:ndim,:ndim] contains inverse of the matrix T, and transform[i,ndim,:] contains the vector r.