-
Notifications
You must be signed in to change notification settings - Fork 1
Matrix covariance
mtbeek32 edited this page Feb 20, 2024
·
3 revisions
Matrix functions matr(ix)_(co)var(iance)
- matr_var(point_att, result_domain)
The matr_var(point_att, result_domain) function calculates the covariance matrix of the point_att, with as resulting domain: result_domain.
The value type of the resulting attribute is the same as the value type of the point_att.
- attribute point_att with float32 or float64 value type
- The value type of point_att and of the result attribute need to match.
- The domain unit of the point_att attribute must be a Point value type of the group CanBeDomainUnit.
- The result_domain argument must be a unit of with a Point value type of the group CanBeDomainUnit and match with the result of the matrix covariance calculation in terms of number or rows/columns.
7.184
attribute<float32> covariance (GridDomain) := matr_var(src, GridDomain);
src
1 | 2 |
3 | 4 |
GridDomain, nr of rows = 2, nr of cols = 2
covariance
10 | 14 |
14 | 200 |
GridDomain, nr of rows = 2, nr of cols = 2
GeoDMS ©Object Vision BV. Source code distributed under GNU GPL-3. Documentation distributed under CC BY-SA 4.0.