ddg.math.complex module
Complex analysis for plane geometry.
- ddg.math.complex.complex_sample(size=None)[source]
Wraps random_sample() to get corresponding number of complex valued samples where real and imaginary part are identically uniformly distributed on [0,1]
- ddg.math.complex.homogeneous(z)[source]
Homogeneous coordinates in CP^2 interpreting z as affine coordinates.
- ddg.math.complex.scalar_product(z1, z2)[source]
Real scalar product of the corresponding elements in R^2
- ddg.math.complex.cr(z1, z2, z3, z4)[source]
Complex cross-ratio (z1 - z2)/(z2 - z3) * (z3 - z4)/(z4 - z1)
- ddg.math.complex.fourth_point_from_cross_ratio(z, z1, z2, q)[source]
Get z12 in cr(z, z1, z12, z2) = q