Cross ratio of 5 coplanar points

53 Views Asked by At

I need to calculate cross ratio of 5 coplanar points. I have formula for one of the invariants. The problem is I don't know how can this be implemented in programming (in python). I've used dot product of matrices bu that is not giving a scalar value.

cross ratio of 5 coplanar points

PS: the screenshot is from this paper