This function calculates the orthogonal projection of a point (cloud) in a Euclidean space to a linear subspace.
1 | projection(cloud, subspace, type = "affine", ...)
|
cloud |
An m-by-n matrix of coordinates for m points in n-dimensional space. |
subspace |
An k-by-n matrix of coordinates spanning the k-dimensional linear subspace or (k - 1)-dimensional affine subspace. |
type |
Whether to interpret h as an affine or a linear subspace. Defaults to "affine". |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.