set To Covariance Of Points
Sets this matrix to the symmetric covariance Matrix computed from an array of points.
The computed covariance matrix represents the correlation between each pair of x-, y-, and z-coordinates as they're distributed about the point array's arithmetic mean. Its layout is as follows:
C(x, x) C(x, y) C(x, z) <br> C(x, y) C(y, y) C(y, z) <br> C(x, z) C(y, z) C(z, z)
C(i, j) is the covariance of coordinates i and j, where i or j are a coordinate's dispersion about its mean value. If any entry is zero, then there's no correlation between the two coordinates defining that entry. If the returned matrix is diagonal, then all three coordinates are uncorrelated, and the specified point is distributed evenly about its mean point.
Return
this matrix set to the covariance matrix for the specified array of points
Parameters
the array of points to consider
the number of array elements to consider
the number of coordinates between the first coordinate of adjacent points - must be at least 3
Throws
If the array is null or empty, if the count is less than 0, or if the stride is less than 3