matrix inverse - ObjectVision/GeoDMS GitHub Wiki
Matrix functions matr(ix)_inv(erse)
- matr_inv(point_att)
The matr_inv(point_att) function calculates the invertible matrix of the point_att argument with the same resulting domain unit as of the point_att argument.
The value type of the resulting attribute is the same as the value type of the point_att argument.
- attribute point_att with float32 or float64 value type
- The value type of point_att and of the resulting attribute need to match.
- The domain unit of point_att and the resulting attribute must match and be a Point value type of the group CanBeDomainUnit.
7.184
attribute<float32> invertible (GridDomain) := matr_inv(src);
src
1 | 2 |
3 | 4 |
GridDomain, nr of rows = 2, nr of cols = 2
invertible
-2 | 1 |
1.5 | -0.5 |
GridDomain, nr of rows = 2, nr of cols = 2