cloud_variance_test: Test decomposition of cloud variance.

Description Usage Arguments

Description

This function verifies that the variance of a cloud is the sum of its variance in the direction of any subspace and the variance of the residual cloud with respect to that subspace.

Usage

1
cloud_variance_test(cloud, weights, subspace, ...)

Arguments

cloud

An m-by-n matrix of coordinates for m points in n-dimensional space.

weights

An m-element vector of point masses (weights).

subspace

An k-by-n matrix of coordinates spanning the k-dimensional linear subspace or (k - 1)-dimensional affine subspace.

...

Additional arguments passed to cloud_decomposition.


corybrunson/cloud documentation built on May 13, 2019, 10:51 p.m.