Barycentric transform from x
to c
is defined by:
T c = x - r_n
where the r_1, ..., r_n
are the vertices of the simplex. The matrix T
is defined by the condition:
T e_j = r_j - r_n
where e_j
is the unit axis vector, e.g, e_2 = [0,1,0,0,...]
This implies that T_ij = (r_j - r_n)_i
.
For the barycentric transforms, we need to compute the inverse matrix T^-1
and store the vectors r_n
for each vertex. These are stacked into the :None:None:`Tinvs`
returned.
Barycentric transforms for each simplex.
Tinvs[i,:ndim,:ndim] contains inverse of the matrix ``T``, and Tinvs[i,ndim,:] contains the vector ``r_n`` (see below).
Compute barycentric affine coordinate transformations for given simplices.
Hover to see nodes names; edges to Self not shown, Caped at 50 nodes.
Using a canvas is more power efficient and can get hundred of nodes ; but does not allow hyperlinks; , arrows or text (beyond on hover)
SVG is more flexible but power hungry; and does not scale well to 50 + nodes.
All aboves nodes referred to, (or are referred from) current nodes; Edges from Self to other have been omitted (or all nodes would be connected to the central node "self" which is not useful). Nodes are colored by the library they belong to, and scaled with the number of references pointing them