pub fn classify_singularity(
expr: &Expression,
variable: &Symbol,
point: &Expression,
) -> SingularityTypeExpand description
Determine singularity type at a point
Uses pole order analysis and limit evaluation to classify singularities:
- Pole:
pole_order() > 0 - Removable: limit exists and is finite
- Essential: neither pole nor removable (e.g., exp(1/z) at z=0)
§Arguments
expr- The expression to analyzevariable- The variable for the singularitypoint- The point to classify the singularity at
§Returns
The type of singularity: Removable, Pole(order), Essential, or Unknown