cart2genbary: Given the Cartesian coordinates of a set of points, compute...

View source: R/pcdfunctions.R

cart2genbaryR Documentation

Given the Cartesian coordinates of a set of points, compute the generalized barycentric coordinates of these points with respect to an outer simplex using the method of Warren 1996.

Description

Given the Cartesian coordinates of a set of points, compute the generalized barycentric coordinates of these points with respect to an outer simplex using the method of Warren 1996.

Usage

cart2genbary(Osimp, x)

Arguments

Osimp

A 2d-by-d matrix representing a outer simplex

x

A set of points of the target class

Value

The barycentric coordinates of the each points of x.

References

Joe Warren. Barycentric Coordinates for Convex Polytopes. Advances in Computational Mathematics, 6:97–108, 1996.


Artur-man/PCDSL documentation built on Feb. 24, 2024, 11:15 p.m.