Math
Note
The math package works with numpy arrays representing
points in affine coordinates (if not stated otherwise).
The geometry package on the other hand works with
geometric objects, generically in homogeneous coordinates.
See the Examples section in the corresponding function to understand how it’s used.
ddg.math.complex- Functions for complex analysis of plane geometryddg.math.euclidean- Functions for Euclidean spaceddg.math.grids- Functions to create quad and triangle gridsddg.math.discrete_objects- Parametrizations for various discrete objectsddg.math.functions- Basic functions and math expressionsddg.math.linalg- Linear algebra functions and utilitiesddg.math.projective- Functions for projective geometryddg.math.quaternion- Quaternion arithmetic functionsddg.math.symmetric_matrices- Symmetric matrix and signature utilities